The deliverable is an executable named `commonmark` at the application root.
The parser reads Markdown from standard input and writes HTML to standard output.
Create a concise project `README.md` describing the standard-input/standard-output interface.
Build `./commonmark` so that the supplied entry point succeeds
CommonMark parsing is two phases: resolve **block structure** first, then run **inline parsing** over the block contents. Implement in that order.
The "Appendix: A parsing strategy" section describes the reference implementation's approach; follow it directly rather than reinventing the rules.
paragraphs
thematic breaks
ATX headings
setext headings
indented code
fenced code
HTML blocks
link reference definitions
block quotes
lists are the hardest block construct, with lazy continuation, nesting, and tightness.
backslash escapes
entity and numeric references
code spans
emphasis and strong emphasis (the delimiter-run algorithm)
links and images
autolinks
raw HTML
hard breaks
It runs the complete, unfiltered supplied CommonMark suite against `./commonmark`.
Create one terminal verification story that: