pulldown-cmark-mdcat 2.9.0

Render pulldown-cmark events to TTY
Documentation

pulldown-cmark-mdcat

Crates.io docs.rs

Render pulldown-cmark events to a TTY.

This library backs the mdcat tool, and makes its rendering available to other crates.

It supports:

  • All common mark syntax.
  • Standard ANSI formatting with OCS-8 hyperlinks.
  • Inline images on terminal emulators with either the iTerm2 or the Kitty protocol.
  • Footnotes.
  • Math events, rendered as PNGs with the iTerm2 or Kitty protocol and as Unicode substitutions otherwise.
  • Jump marks in iTerm2.

Math image rendering falls back to Unicode substitutions when the terminal or expression is not supported.

License

Copyright Sebastian Wiesner sebastian@swsnr.de

Binaries are subject to the terms of the Mozilla Public License, v. 2.0, see LICENSE.

Most of the source is subject to the terms of the Mozilla Public License, v. 2.0, see LICENSE, unless otherwise noted; some files are subject to the terms of the Apache 2.0 license, see http://www.apache.org/licenses/LICENSE-2.0