18 stable releases

2.7.1 Dec 14, 2024
2.7.0 Nov 24, 2024
2.5.0 Sep 26, 2024
2.3.0 Jul 28, 2024
2.0.3 Apr 24, 2023

#566 in Text processing

Download history 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 409/week @ 2024-11-17 1084/week @ 2024-11-24 681/week @ 2024-12-01 1481/week @ 2024-12-08 1593/week @ 2024-12-15 1182/week @ 2024-12-22 1079/week @ 2024-12-29 612/week @ 2025-01-05

4,656 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
~354K SLoC