Revision history for Markdown-Lex
0.1.0 2026-08-09T19:44:40+01:00
- Initial release
- parse() is total: never throws, and every prefix of a document lexes
- Typed immutable blocks: Heading, Para, CodeFence, Bullet, Quote, Rule
- Flat styled spans (bold / italic / code / link) instead of an inline tree
- CommonMark-lite: ATX headings, fenced code with an info word, bullets with
depth and verbatim markers, block quotes, thematic breaks, paragraphs with
soft line breaks
- Inline: backtick-run code spans, emphasis with CommonMark's delimiter-run
and rule-of-three matching, intraword underscore protection, and links
- Unclosed fences are reported with :!closed rather than swallowed
- CRLF and lone CR normalised on entry, CRLF graphemes included