Skip to content

mdcat-2.11.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 09:50
· 29 commits to main since this release
mdcat-2.11.0
27c8352

Added

  • --watch/-w to re-render a file on every save, for a live preview while
    editing. Requires a single file argument and a terminal on standard output;
    not compatible with --paginate or reading from standard input.
  • Ratatui widget (MdcatWidget) for rendering Markdown inside TUI applications,
    with optional image overlays via the Kitty, iTerm2, Sixel, or halfblocks
    protocols, and inline math rendering for terminals that support image output.

Fixed

  • Ratatui: reference links after a Markdown image now show the correct URL.
    Previously the image's OSC 8 link consumed the next link's queue entry,
    shifting all subsequent reference targets by one.
  • Ratatui: image overlays inside block quotes and other indented contexts now
    render at the correct column. The indent was computed in bytes rather than
    display-width columns, causing a drift for multi-byte prefix characters.