{
  "title": "Markdown constructs by renderer",
  "source": "https://allmarkdown.com/markdown-flavors",
  "measured": "2026-09-13",
  "method": "Each sample was rendered by each library in Node.js with default options (micromark with the GFM extension) and the HTML inspected for the element the construct is meant to produce. \"renders\" means the element was produced; \"literal\" means the syntax came out as text; \"filtered\" means a raw tag was neutralised on purpose.",
  "renderers": [
    {
      "id": "marked",
      "name": "marked",
      "version": "18.0.7"
    },
    {
      "id": "markdown-it",
      "name": "markdown-it",
      "version": "15.0.2"
    },
    {
      "id": "commonmark",
      "name": "commonmark.js",
      "version": "0.31.2"
    },
    {
      "id": "micromark-gfm",
      "name": "micromark + GFM",
      "version": "4.0.2 / gfm 3.0.0"
    }
  ],
  "constructs": [
    {
      "id": "atx-heading",
      "name": "ATX heading",
      "origin": "CommonMark",
      "sample": "# Title",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "setext-heading",
      "name": "Setext heading",
      "origin": "CommonMark",
      "sample": "Title\n=====",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "emphasis",
      "name": "Emphasis",
      "origin": "CommonMark",
      "sample": "an *emphasised* word",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "strong",
      "name": "Strong emphasis",
      "origin": "CommonMark",
      "sample": "a **strong** word",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "inline-code",
      "name": "Inline code",
      "origin": "CommonMark",
      "sample": "call `fn()` here",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "fenced-code",
      "name": "Fenced code block",
      "origin": "CommonMark",
      "sample": "```js\nlet x = 1;\n```",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "indented-code",
      "name": "Indented code block",
      "origin": "CommonMark",
      "sample": "para\n\n    let x = 1;",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "blockquote",
      "name": "Block quote",
      "origin": "CommonMark",
      "sample": "> quoted",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "bullet-list",
      "name": "Bullet list",
      "origin": "CommonMark",
      "sample": "- one\n- two",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "ordered-list",
      "name": "Ordered list",
      "origin": "CommonMark",
      "sample": "1. one\n2. two",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "nested-list",
      "name": "Nested list",
      "origin": "CommonMark",
      "sample": "- one\n  - inner\n- two",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "link",
      "name": "Inline link",
      "origin": "CommonMark",
      "sample": "[text](https://example.com)",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "reference-link",
      "name": "Reference link",
      "origin": "CommonMark",
      "sample": "[text][ref]\n\n[ref]: https://example.com",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "autolink",
      "name": "Autolink in angle brackets",
      "origin": "CommonMark",
      "sample": "<https://example.com>",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "image",
      "name": "Image",
      "origin": "CommonMark",
      "sample": "![alt](https://example.com/a.png)",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "hard-break-spaces",
      "name": "Hard line break (two spaces)",
      "origin": "CommonMark",
      "sample": "line one  \nline two",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "hard-break-backslash",
      "name": "Hard line break (backslash)",
      "origin": "CommonMark",
      "sample": "line one\\\nline two",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "thematic-break",
      "name": "Thematic break",
      "origin": "CommonMark",
      "sample": "above\n\n---\n\nbelow",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "backslash-escape",
      "name": "Backslash escape",
      "origin": "CommonMark",
      "sample": "\\*not emphasis\\*",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "entity",
      "name": "HTML entity",
      "origin": "CommonMark",
      "sample": "copy &copy; me",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "raw-html",
      "name": "Raw inline HTML",
      "origin": "CommonMark",
      "sample": "press <kbd>Ctrl</kbd>",
      "marked": "renders",
      "markdown-it": "literal",
      "commonmark": "renders",
      "micromark-gfm": "renders"
    },
    {
      "id": "table",
      "name": "Table",
      "origin": "GFM",
      "sample": "| a | b |\n| --- | --- |\n| 1 | 2 |",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "literal",
      "micromark-gfm": "renders"
    },
    {
      "id": "strikethrough",
      "name": "Strikethrough",
      "origin": "GFM",
      "sample": "a ~~struck~~ word",
      "marked": "renders",
      "markdown-it": "renders",
      "commonmark": "literal",
      "micromark-gfm": "renders"
    },
    {
      "id": "task-list",
      "name": "Task list item",
      "origin": "GFM",
      "sample": "- [x] done\n- [ ] not yet",
      "marked": "renders",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "renders"
    },
    {
      "id": "bare-url",
      "name": "Bare URL autolink",
      "origin": "GFM",
      "sample": "see https://example.com today",
      "marked": "renders",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "renders"
    },
    {
      "id": "tagfilter",
      "name": "Raw <script> tag",
      "origin": "GFM",
      "sample": "x <script>y</script>",
      "marked": "passes through",
      "markdown-it": "filtered",
      "commonmark": "passes through",
      "micromark-gfm": "filtered"
    },
    {
      "id": "footnote",
      "name": "Footnote",
      "origin": "GFM",
      "sample": "claim[^1]\n\n[^1]: the note",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "renders"
    },
    {
      "id": "definition-list",
      "name": "Definition list",
      "origin": "Markdown Extra",
      "sample": "Term\n: Definition",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "heading-id",
      "name": "Heading id attribute",
      "origin": "Markdown Extra",
      "sample": "# Title {#custom}",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "abbreviation",
      "name": "Abbreviation",
      "origin": "Markdown Extra",
      "sample": "The HTML spec.\n\n*[HTML]: HyperText Markup Language",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "superscript",
      "name": "Superscript",
      "origin": "Pandoc",
      "sample": "x^2^",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "subscript",
      "name": "Subscript",
      "origin": "Pandoc",
      "sample": "H~2~O",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "math",
      "name": "Inline math",
      "origin": "Pandoc",
      "sample": "the value $x^2$ here",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "highlight",
      "name": "Highlight",
      "origin": "Other",
      "sample": "a ==marked== word",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "emoji-shortcode",
      "name": "Emoji shortcode",
      "origin": "Other",
      "sample": "hello :smile:",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    },
    {
      "id": "wikilink",
      "name": "Wiki link",
      "origin": "Other",
      "sample": "see [[Other page]]",
      "marked": "literal",
      "markdown-it": "literal",
      "commonmark": "literal",
      "micromark-gfm": "literal"
    }
  ]
}
