yera.runtime.handlers.markdown.ansi

ANSI markdown handler: Rich rendering with LaTeX rendered as Unicode text.

For terminals that support ANSI escapes (colour, cursor movement) but not the Kitty graphics protocol. Inherits all text/code/live rendering from the TTY handler; the only differences are LaTeX (converted to Unicode via pylatexenc instead of rasterised) and images (shown as a styled reference line, since there is no way to paint pixels).

Symbols

class ANSIMarkdownHandler — Markdown handler for ANSI terminals without graphics support.

ANSIMarkdownHandler

Markdown handler for ANSI terminals without graphics support.

Renders markdown and code via Rich (inherited from TTYMarkdownHandler) and converts display LaTeX to Unicode with pylatexenc. The converter is built lazily on first use and reused.