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

#552 in Text processing

Download history 720/week @ 2024-08-04 833/week @ 2024-08-11 409/week @ 2024-08-18 379/week @ 2024-08-25 442/week @ 2024-09-01 507/week @ 2024-09-08 591/week @ 2024-09-15 788/week @ 2024-09-22 775/week @ 2024-09-29 620/week @ 2024-10-06 687/week @ 2024-10-13 925/week @ 2024-10-20 508/week @ 2024-10-27 492/week @ 2024-11-03 806/week @ 2024-11-10 405/week @ 2024-11-17

2,242 downloads per month
Used in 5 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
~350K SLoC