Expand description
Pretty document preview (GitHub-flavored Markdown, JSON, plain).
TUI-oriented renderer — not a browser, but aims for readable GitHub-like output: GFM tables/tasks/alerts, nested lists & quotes, footnotes, autolinks, images, setext headings, fenced/indented code, entities, escapes.
Structs§
- Image
Block - Inline image anchored to a preview line (drawn by the Kitty layer).
- Preview
Line - Preview
State
Enums§
Constants§
- PREVIEW_
ANIM_ MS - Transform-reveal animation length (ms) — open and reverse-close.
Functions§
- preview_
line_ to_ ratatui - to_
ratatui_ style - Theme-derived styling: headings grade from accent toward fg, semantic colors come from the active theme so light themes stay readable.