8 stable releases

2.1.2 Mar 11, 2024
2.1.1 Jan 15, 2024
2.1.0 Oct 16, 2023
2.0.3 Apr 24, 2023

#685 in Text processing

Download history 397/week @ 2024-01-02 475/week @ 2024-01-09 580/week @ 2024-01-16 543/week @ 2024-01-23 426/week @ 2024-01-30 343/week @ 2024-02-06 276/week @ 2024-02-13 424/week @ 2024-02-20 627/week @ 2024-02-27 432/week @ 2024-03-05 787/week @ 2024-03-12 617/week @ 2024-03-19 312/week @ 2024-03-26 542/week @ 2024-04-02 359/week @ 2024-04-09 546/week @ 2024-04-16

1,959 downloads per month
Used in 3 crates (2 directly)

MPL-2.0 AND Apache-2.0

140KB
3K SLoC

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, as well as on Terminology.
  • Jump marks in iTerm2.

It does not support commonmark table and footnote extension syntax.

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

Dependencies

~7–24MB
~346K SLoC