/markdown-gren

Primary LanguageJustBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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

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

Fully tested according to spec

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