Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Aug 01:20
· 31 commits to main since this release

First release.

Added

  • CommonMark and GFM: tables, task lists, strikethrough, footnotes, autolinks,
    GitHub alerts, definition lists, math, wikilinks, and YAML front matter.
  • Image rendering through the kitty graphics protocol, iTerm2 inline images,
    DEC sixel, and Unicode half blocks, chosen by terminal detection.
  • A sixel encoder with median-cut quantisation and Floyd–Steinberg dithering,
    with no libsixel dependency.
  • SVG rendering via resvg, behind the default svg feature. Vector images are
    rasterised at the size they will be displayed, so badge text stays legible.
  • Images that cannot be shown explain why in their placeholder, rather than
    leaving an unexplained gap.
  • Syntax highlighting via syntect and the extended two-face grammar set,
    with language aliases and first-line sniffing.
  • Table layout that measures columns and wraps the widest, with a record layout
    for terminals too narrow for a grid.
  • An interactive pager: search, table of contents, link list, horizontal
    scrolling, live reload, and mouse support.
  • Clickable links in the pager. Links to other local Markdown files open in
    termmd, with backspace to go back; local paths are emitted as file://
    URIs so the terminal's own link handling works too.
  • The mouse is left to the terminal by default, so click-drag selection works;
    the wheel still scrolls via alternate scroll. m hands the mouse to termmd
    for click-to-follow, and back again.
  • Terminal capability detection by live query, with environment-based fallbacks
    and per-capability overrides.
  • Themes in TOML, layered over built-in dark, light and monochrome bases.
  • OSC 8 hyperlinks, with inline, reference and hidden URL modes as fallbacks.