{
  "$schema": "https://www.cuddler.dev/standards/document-role/template/v1.0.0/commonmark-gfm-markdig.schema.1.0.0.json",
  "type": "document",
  "options": {
    "renderer": "Markdig",
    "flavor": "CommonMark+GFM",
    "gfmTagFilterOnHtmlRender": true
  },
  "children": [
    {
      "type": "heading",
      "level": 1,
      "children": [
        {
          "type": "text",
          "text": "CommonMark + GFM Sample"
        }
      ],
      "syntax": {
        "style": "atx"
      }
    },
    {
      "type": "paragraph",
      "children": [
        {
          "type": "text",
          "text": "Supports "
        },
        {
          "type": "strong",
          "children": [
            {
              "type": "text",
              "text": "CommonMark"
            }
          ]
        },
        {
          "type": "text",
          "text": ", "
        },
        {
          "type": "strikethrough",
          "children": [
            {
              "type": "text",
              "text": "GFM"
            }
          ]
        },
        {
          "type": "text",
          "text": ", and "
        },
        {
          "type": "link",
          "style": "inline",
          "destination": "https://github.github.com/gfm/",
          "title": "GitHub Flavored Markdown",
          "children": [
            {
              "type": "text",
              "text": "inline links"
            }
          ]
        },
        {
          "type": "text",
          "text": "."
        }
      ]
    },
    {
      "type": "table",
      "header": {
        "type": "tableRow",
        "cells": [
          {
            "type": "tableCell",
            "children": [
              {
                "type": "text",
                "text": "Feature"
              }
            ]
          },
          {
            "type": "tableCell",
            "children": [
              {
                "type": "text",
                "text": "Status"
              }
            ]
          }
        ]
      },
      "align": [
        "left",
        "center"
      ],
      "rows": [
        {
          "type": "tableRow",
          "cells": [
            {
              "type": "tableCell",
              "children": [
                {
                  "type": "text",
                  "text": "Tables"
                }
              ]
            },
            {
              "type": "tableCell",
              "children": [
                {
                  "type": "text",
                  "text": "Yes"
                }
              ]
            }
          ]
        },
        {
          "type": "tableRow",
          "cells": [
            {
              "type": "tableCell",
              "children": [
                {
                  "type": "text",
                  "text": "Task lists"
                }
              ]
            },
            {
              "type": "tableCell",
              "children": [
                {
                  "type": "text",
                  "text": "Yes"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "list",
      "ordered": false,
      "tight": true,
      "syntax": {
        "bulletMarker": "-"
      },
      "children": [
        {
          "type": "taskListItem",
          "checked": true,
          "children": [
            {
              "type": "paragraph",
              "children": [
                {
                  "type": "text",
                  "text": "Define schema"
                }
              ]
            }
          ]
        },
        {
          "type": "taskListItem",
          "checked": false,
          "children": [
            {
              "type": "paragraph",
              "children": [
                {
                  "type": "text",
                  "text": "Implement renderer"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "type": "codeBlock",
      "text": "var pipeline = new MarkdownPipelineBuilder()\\n    .UsePipeTables()\\n    .UseTaskLists()\\n    .UseAutoLinks()\\n    .UseEmphasisExtras()\\n    .Build();",
      "language": "csharp",
      "info": "csharp",
      "syntax": {
        "style": "fenced",
        "fenceChar": "`",
        "fenceLength": 3
      }
    },
    {
      "type": "linkReferenceDefinition",
      "identifier": "markdig",
      "destination": "https://github.com/xoofx/markdig",
      "title": "Markdig"
    },
    {
      "type": "paragraph",
      "children": [
        {
          "type": "text",
          "text": "Reference link to "
        },
        {
          "type": "link",
          "style": "fullReference",
          "referenceId": "markdig",
          "children": [
            {
              "type": "text",
              "text": "Markdig"
            }
          ]
        },
        {
          "type": "text",
          "text": "."
        }
      ]
    },
    {
      "type": "rawHtmlBlock",
      "raw": "<div class=\"note\">Raw HTML is allowed in CommonMark/GFM source.</div>"
    }
  ]
}

