#markdown-parser #html #parser

mdhtml

Parse and display a markdown-like HTML subset

1 unstable release

0.1.2 Jun 24, 2025

#53 in #markdown-parser

Download history 14/week @ 2025-07-06 5/week @ 2025-07-13 7/week @ 2025-07-20 5/week @ 2025-07-27 4/week @ 2025-08-03 3/week @ 2025-08-10 3/week @ 2025-08-17 11/week @ 2025-08-24 34/week @ 2025-08-31 13/week @ 2025-09-07 15/week @ 2025-09-14 19/week @ 2025-09-21 30/week @ 2025-09-28 8/week @ 2025-10-05 16/week @ 2025-10-12 16/week @ 2025-10-19

77 downloads per month
Used in 6 crates (3 directly)

MIT license

13KB
162 lines

mdhtml

batteries-included opinionated html escaping and markdown parsing

basically anything you may need to sanitize html before displaying it, and converting user generated markdown into safe html

this is probably only useful for upub, and it was made a standalone crate to be shared across components

Dependencies

~1.5–5.5MB
~116K SLoC