Show HB: puku-markdown - Explicit‑stack, pure CommonMark parser & renderer #4
curlinkw
started this conversation in
Hackerboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Link
https://github.com/curlinkw/puku-markdown
Description
I built puku-markdown as a refactoring effort targeting markdown-it-py. While it's a great reference implementation, the actual Python port suffers from accumulated quirks, overly complex mutable state, and edge-case brittleness that make maintenance a headache.
This is a from-scratch rebuild that preserves CommonMark compliance while prioritizing clean architecture:
Status: Block elements fully supported. Inlines (emphasis, links, images) in progress.
I'd appreciate brutal feedback on the architecture and design choices.
All reactions