17 stable releases

new 2.7.0 Nov 24, 2024
2.5.0 Sep 26, 2024
2.3.0 Jul 28, 2024
2.1.2 Mar 11, 2024
2.0.3 Apr 24, 2023

#577 in Text processing

Download history 788/week @ 2024-08-09 456/week @ 2024-08-16 386/week @ 2024-08-23 436/week @ 2024-08-30 521/week @ 2024-09-06 264/week @ 2024-09-13 937/week @ 2024-09-20 936/week @ 2024-09-27 436/week @ 2024-10-04 668/week @ 2024-10-11 977/week @ 2024-10-18 664/week @ 2024-10-25 450/week @ 2024-11-01 767/week @ 2024-11-08 469/week @ 2024-11-15 895/week @ 2024-11-22

2,600 downloads per month
Used in 4 crates (3 directly)

MPL-2.0 AND Apache-2.0

155KB
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 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

~11–24MB
~348K SLoC