markdown-strip
Strip Markdown formatting to plain text. Conservative, fast, zero deps. Use it to feed LLM output into TTS, keyword matching, or analytics.
use strip_markdown;
let md = "## Hello\n\n**bold** and *italic* with `code` and [a link](https://x).";
assert_eq!;
Handles ATX headers, bold/italic, inline code, fenced code blocks (body preserved), links (text kept, URL dropped), images (alt kept), blockquote markers, and bullet/number list markers.
MIT or Apache-2.0.