A commonmark markdown package for Gren.

⚠️ This mostly works, but the test suite is incomplete and a few features are still missing.

Commonmark

This package implements the entire Commonmark spec.

There are some differences regarding the HTML parsing though.

To do

  • [ ] Allow for custom inline & block parsers to be passed in

Parser implementations

  • [x] Blockquotes
  • [x] Code blocks (fenced & indented)
  • [x] Headers
  • [x] Lists (ordered & unordered)
  • [x] Thematic breaks
  • [x] Paragraphs
  • [x] Emphasis & strong emphasis
  • [x] Hard line breaks
  • [x] Inline code
  • [x] Images
  • [x] Links
  • [x] Autolinks
  • [x] Raw HTML
  • [ ] Link reference definitions
  • [ ] Setext headings

Fully tested according to spec

  • [ ] Blockquotes
  • [ ] Code blocks (fenced & indented)
  • [ ] Headers
  • [ ] Lists (ordered & unordered)
  • [ ] Thematic breaks
  • [x] Paragraphs
  • [x] Emphasis & strong emphasis (90% done)
  • [ ] Hard line breaks
  • [x] Inline code
  • [ ] Images
  • [ ] Links
  • [x] Autolinks
  • [ ] Raw HTML
  • [ ] Link reference definitions
  • [ ] Setext headings