{
  "id": "task_libraries:markdown-parser/python",
  "path": "/exapedia/python-markdown-parser-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python Markdown parser libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python Markdown parser libraries turn Markdown text into HTML or into a tree of tokens that code can inspect. A parser either renders HTML directly or exposes the parsed document as tokens before any rendering happens. These libraries let documentation sites and AI chat apps display formatted text written in Markdown."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python Markdown parser libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#markdown-it-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-markdown",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mistune",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#markdowntwo",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#marko",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#commonmark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mistletoe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyromark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#markdown-it-py",
          "label": [
            {
              "t": "text",
              "text": "markdown-it-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F136"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Structured Markdown parse",
            "CommonMark baseline"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#markdown-it-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F135"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-markdown",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mistune",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#markdowntwo",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#marko",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#commonmark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mistletoe",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyromark",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "markdown-it-py",
          "name": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/executablebooks/markdown-it-py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/markdown-it-py"
            },
            {
              "label": "Docs",
              "href": "https://markdown-it-py.readthedocs.io/en/latest/using.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://markdown-it-py.readthedocs.io/en/latest/using.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Textualize/rich",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F149"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def __init__(\n    self,\n    markup: str,\n    code_theme: str = \"monokai\",\n    justify: JustifyMethod | None = None,\n    style: str | Style = \"none\",\n    hyperlinks: bool = True,\n    inline_code_lexer: str | None = None,\n    inline_code_theme: str | None = None,\n) -> None:\n    parser = MarkdownIt().enable(\"strikethrough\").enable(\"table\")\n    self.markup = markup\n    self.parsed = parser.parse(markup)\n    self.code_theme = code_theme\n    self.justify: JustifyMethod | None = justify\n    self.style = style\n    self.hyperlinks = hyperlinks\n    self.inline_code_lexer = inline_code_lexer\n    self.inline_code_theme = inline_code_theme or code_theme\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Textualize/rich/blob/3a109ccdffe5b2d0e30684a304fbd388e99ce57b/rich/markdown.py#L549-L567",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Real%20projects%20using%20markdown-it-py%20to%20parse%20Markdown%20documents&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F135"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from markdown_it import MarkdownIt\n\nhtml = MarkdownIt().render(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://markdown-it-py.readthedocs.io/en/latest/using.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F140"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "python-markdown",
          "name": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Python-Markdown/markdown"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/Markdown"
            },
            {
              "label": "Docs",
              "href": "https://python-markdown.github.io/reference/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://python-markdown.github.io/reference/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/getpelican/pelican",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def read(self, source_path):\n    \"\"\"Parse content and metadata of markdown files\"\"\"\n\n    self._source_path = source_path\n    self._md = Markdown(**self.settings[\"MARKDOWN\"])\n    with pelican_open(source_path) as text:\n        content = self._md.convert(text)\n\n    if hasattr(self._md, \"Meta\"):\n        metadata = self._parse_metadata(self._md.Meta)\n    else:\n        metadata = {}\n    return content, metadata\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/getpelican/pelican/blob/e8748aba9ad0907a8801646e957b37a02709240d/pelican/readers.py#L344-L356",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F164"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Real%20projects%20using%20Markdown%20to%20parse%20Markdown%20documents&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F151"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import markdown\n\nhtml = markdown.markdown(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/Markdown/3.11.3/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "library.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F156"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mistune",
          "name": [
            {
              "t": "fact",
              "fact": "F167"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/lepture/mistune"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/mistune"
            },
            {
              "label": "Docs",
              "href": "https://mistune.lepture.com/en/latest/guide.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F64"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mistune.lepture.com/en/latest/guide.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter/nbconvert",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def __init__(\n    self,\n    renderer: HTMLRenderer,\n    block: Optional[BlockParser] = None,\n    inline: Optional[InlineParser] = None,\n    plugins: Optional[Iterable[\"Plugin\"]] = None,\n):\n    \"\"\"Initialize the parser.\"\"\"\n    if block is None:\n        block = MathBlockParser()\n    if inline is None:\n        if MISTUNE_V3:\n            inline = MathInlineParser(hard_wrap=False)\n        else:\n            inline = MathInlineParser(renderer, hard_wrap=False)  # type: ignore[arg-type,misc]\n    if plugins is None:\n        plugins = (import_plugin(p) for p in self.DEFAULT_PLUGINS)\n\n    super().__init__(renderer, block, inline, plugins)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyter/nbconvert/blob/e681152f214b65387f875aad96a4726994533a0b/nbconvert/filters/markdown_mistune.py#L486-L504",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Real%20projects%20using%20mistune%20to%20parse%20Markdown%20documents&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F167"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import mistune\n\nparser = mistune.create_markdown()\nhtml = parser(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/mistune/3.4.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "guide.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F172"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "markdowntwo",
          "name": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/trentm/python-markdown2"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/markdown2"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/trentm/python-markdown2",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/grafana-cold-storage/oncall",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def clean_markup(text):\n    html = markdown2.markdown(text, extras=[\"cuddled-lists\", \"fenced-code-blocks\", \"pyshell\"]).strip()\n    cleaned = clean_html(html)\n    stroke_matches = re.findall(r\"~\\w+~\", cleaned)\n    for stroke_match in stroke_matches:\n        cleaned_match = stroke_match.strip(\"~\")\n        cleaned = cleaned.replace(stroke_match, cleaned_match)\n    return cleaned\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/grafana-cold-storage/oncall/blob/af0fbd40558c9a63bcf438589894c440fc434a54/engine/common/utils.py#L260-L267",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=markdown2%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import markdown2\n\nhtml = markdown2.markdown(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/trentm/python-markdown2/blob/2.5.5/lib/markdown2.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "marko",
          "name": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/frostming/marko"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/marko"
            },
            {
              "label": "Docs",
              "href": "https://marko-py.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F90"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://marko-py.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/frictionlessdata/frictionless-py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@property\ndef description_html(self) -> str:\n    \"\"\"Description in HTML\"\"\"\n    description = getattr(self, \"description\", \"\")\n    try:\n        html = platform.marko.convert(description)\n        html = html.replace(\"\\n\", \"\")\n        return html\n    except Exception:\n        return \"\"\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/frictionlessdata/frictionless-py/blob/c08fa29cb0708427ae65bb689ded8e2691078a82/frictionless/metadata/metadata.py#L125-L134",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Real%20projects%20using%20marko%20to%20parse%20Markdown%20documents&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import marko\n\nhtml = marko.convert(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/marko/2.2.5/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "usage.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "commonmark",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/readthedocs/commonmark.py"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/commonmark"
            },
            {
              "label": "Docs",
              "href": "https://commonmarkpy.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://commonmarkpy.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sunainapai/makesite",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def read_content(filename):\n    \"\"\"Read content and metadata from file into a dictionary.\"\"\"\n    # Read file content.\n    text = fread(filename)\n\n    # Read metadata and save it in a dictionary.\n    date_slug = os.path.basename(filename).split('.')[0]\n    match = re.search(r'^(?:(\\d\\d\\d\\d-\\d\\d-\\d\\d)-)?(.+)$', date_slug)\n    content = {\n        'date': match.group(1) or '1970-01-01',\n        'slug': match.group(2),\n    }\n\n    # Read headers.\n    end = 0\n    for key, val, end in read_headers(text):\n        content[key] = val\n\n    # Separate content from headers.\n    text = text[end:]\n\n    # Convert Markdown content to HTML.\n    if filename.endswith(('.md', '.mkd', '.mkdn', '.mdown', '.markdown')):\n        try:\n            if _test == 'ImportError':\n                raise ImportError('Error forced by test')\n            import commonmark\n            text = commonmark.commonmark(text)\n        except ImportError as e:\n            log('WARNING: Cannot render Markdown in {}: {}', filename, str(e))\n\n    # Update the dictionary with content and RFC 2822 date.\n    content.update({\n        'content': text,\n        'rfc_2822_date': rfc_2822_format(content['date'])\n    })\n\n    return content\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sunainapai/makesite/blob/40bb66a10bb7b6cbf9dd9d93b054de95cb20eba6/makesite.py#L79-L116",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=commonmark%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import commonmark\n\nhtml = commonmark.commonmark(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/readthedocs/commonmark.py/blob/master/commonmark/main.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "main.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mistletoe",
          "name": [
            {
              "t": "fact",
              "fact": "F238"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/miyuchina/mistletoe"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/mistletoe"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/miyuchina/mistletoe",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F238"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/AnswerDotAI/llms-txt",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "@call_parse\ndef main(\n    file_path='llms.txt'  # path to llms.txt file\n):\n    text = Path(file_path).read_text(encoding=\"utf-8\")\n    fragment = mistletoe.markdown(text)\n    processed = fragment.replace('.html.md\">', '.html\">')\n    full = f\"\"\"<!DOCTYPE html>\n    <html>\n    <head>\n    <title>llms.html</title>\n    </head>\n    <body>\n    {processed}\n    </body>\n    </html>\"\"\"\n    Path(\"llms.html\").write_text(full)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/AnswerDotAI/llms-txt/blob/3700a0a624a4a004c6a246789b37f389940b1b58/llms_txt/txt2html.py#L5-L21",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F253"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=mistletoe%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F238"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import mistletoe\n\nhtml = mistletoe.markdown(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/mistletoe/1.6.0/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F243"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyromark",
          "name": [
            {
              "t": "fact",
              "fact": "F256"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/monosans/pyromark"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyromark"
            },
            {
              "label": "Docs",
              "href": "https://monosans.github.io/pyromark/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F263"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://monosans.github.io/pyromark/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sudoskys/telegramify-markdown",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F274"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _parse(\n    markdown: str, options: pyromark.Options, *, latex_escape: bool\n) -> tuple[str, tuple]:\n    \"\"\"Preprocess and parse Markdown; return the parsed text and its ranged events.\n\n    Two delimiter readings that the Markdown extensions allow are rarely what\n    chat text means, so their delimiters are escaped and the text parsed again\n    until neither remains. Escaped delimiters never match again, so this ends.\n\n    - Inline math whose closing ``$`` is directly followed by a digit, as in\n      ``$10.49 (~$11.20)``, is two prices (pandoc's rule for ``$`` math).\n    - Strikethrough takes ``~~``; a single ``~`` reads as \"approximately\".\n    \"\"\"\n    text = _escape_latex(markdown) if latex_escape else markdown\n    text = _preprocess_spoilers(text, options)\n    # pyromark >= 0.10 returns a one-shot iterator; materialize it so the\n    # delimiter scan and EventWalker can both iterate.\n    events = tuple(pyromark.events_with_range(text, options=options))\n    while offsets := _literal_delimiters(text, events):\n        text = _escape_at(text, offsets)\n        events = tuple(pyromark.events_with_range(text, options=options))\n    return text, events\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sudoskys/telegramify-markdown/blob/3535c87ecc41e7861bc5f4ffa400871bc93e9075/src/telegramify_markdown/converter.py#L159-L180",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F273"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pyromark%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pyromark\n\nhtml = pyromark.html(\"# Hello\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/monosans/pyromark/blob/37eee7fa7d86754f7ea998709b25ef280fc4a0f1/python/pyromark/_pyromark.pyi",
                  "label": [
                    {
                      "t": "text",
                      "text": "_pyromark.pyi"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F261"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python Markdown parser should I use?",
      "a": [
        {
          "t": "link",
          "href": "#markdown-it-py",
          "label": [
            {
              "t": "text",
              "text": "markdown-it-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits applications that need CommonMark parsing and access to the token stream. "
        },
        {
          "t": "link",
          "href": "#python-markdown",
          "label": [
            {
              "t": "text",
              "text": "Python-Markdown"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits projects that follow the original Markdown rules and rely on its extensions. "
        },
        {
          "t": "link",
          "href": "#mistune",
          "label": [
            {
              "t": "text",
              "text": "mistune"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits applications that want plugins and custom renderers."
        }
      ]
    },
    {
      "q": "What is Python-Markdown?",
      "a": [
        {
          "t": "link",
          "href": "#python-markdown",
          "label": [
            {
              "t": "text",
              "text": "Python-Markdown"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python implementation of John Gruber's original Markdown that converts text to HTML. Its maintainers do not aim for CommonMark compatibility."
        }
      ]
    },
    {
      "q": "What is markdown-it-py?",
      "a": [
        {
          "t": "link",
          "href": "#markdown-it-py",
          "label": [
            {
              "t": "text",
              "text": "markdown-it-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python port of markdown-it. It exposes the parsed tokens before rendering and follows CommonMark as its baseline."
        }
      ]
    },
    {
      "q": "What is mistune?",
      "a": [
        {
          "t": "link",
          "href": "#mistune",
          "label": [
            {
              "t": "text",
              "text": "mistune"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Markdown parser with plugins and renderers. Its maintainers state that the current release follows the CommonMark specification."
        }
      ]
    },
    {
      "q": "How do I convert Markdown to HTML in Python?",
      "a": [
        {
          "t": "link",
          "href": "#python-markdown",
          "label": [
            {
              "t": "text",
              "text": "Python-Markdown"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#markdowntwo",
          "label": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ]
        },
        {
          "t": "text",
          "text": " convert a Markdown string to an HTML string. "
        },
        {
          "t": "link",
          "href": "#markdown-it-py",
          "label": [
            {
              "t": "text",
              "text": "markdown-it-py"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#mistune",
          "label": [
            {
              "t": "text",
              "text": "mistune"
            }
          ]
        },
        {
          "t": "text",
          "text": " render HTML as well and also expose the parsed tokens."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, markdown-it-py",
      "display": "markdown-it-py",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, markdown-it-py",
      "display": "562.9M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, markdown-it-py",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, markdown-it-py",
      "display": "4.3.0, Nov 2026",
      "asOf": "2026-11-10"
    },
    "F5": {
      "label": "Package release date, markdown-it-py",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F6": {
      "label": "Repository stars, markdown-it-py",
      "display": "1.4K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "CommonMark parsing, markdown-it-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Syntax extensions, markdown-it-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Syntax tree access, markdown-it-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Escapes raw HTML, markdown-it-py",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Output formats, markdown-it-py",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "Install, markdown-it-py",
      "display": "pip install \"markdown-it-py[plugins]\"",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "What it does, markdown-it-py",
      "display": "Parses Markdown into tokens and renders HTML with configurable rules.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, markdown-it-py",
      "display": "Exposes tokens and syntax trees",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, markdown-it-py",
      "display": "Parse tokens, build a SyntaxTreeNode, and traverse its children.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths lead, markdown-it-py",
      "display": "Lets rules change temporarily",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "strengths, markdown-it-py",
      "display": "Use reset_rules to restore parsing rules after a temporary change.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, markdown-it-py",
      "display": "Raw HTML passes through initially",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, markdown-it-py",
      "display": "Use js-default for untrusted Markdown or sanitize HTML output.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations lead, markdown-it-py",
      "display": "Automatic links need an extra",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "limitations, markdown-it-py",
      "display": "Install linkify-it-py when enabling linkify or a GFM-like preset.",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Quickstart, markdown-it-py",
      "display": "from markdown_it import MarkdownIt\nfrom mdit_py_plugins.front_matter import front_matter_plugin\nfrom mdit_py_plugins.footnote import footnote_plugin\n\nmd = (\n    MarkdownIt(\"commonmark\", {\"breaks\": True, \"html\": True})\n    .use(front_matter_plugin)\n    .use(footnote_plugin)\n    .enable(\"table\")\n)\ntext = \"\"\"\n---\na: 1\n---\n\na | b\n- | -\n1 | 2\n\nA footnote [^1]\n\n[^1]: some details\n\"\"\"\ntokens = md.parse(text)\nhtml_text = md.render(text)\n\n## To export the html to a file, uncomment the lines below:\n# from pathlib import Path\n# Path(\"output.html\").write_text(html_text)\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function, markdown-it-py",
      "display": "def __init__(\n    self,\n    markup: str,\n    code_theme: str = \"monokai\",\n    justify: JustifyMethod | None = None,\n    style: str | Style = \"none\",\n    hyperlinks: bool = True,\n    inline_code_lexer: str | None = None,\n    inline_code_theme: str | None = None,\n) -> None:\n    parser = MarkdownIt().enable(\"strikethrough\").enable(\"table\")\n    self.markup = markup\n    self.parsed = parser.parse(markup)\n    self.code_theme = code_theme\n    self.justify: JustifyMethod | None = justify\n    self.style = style\n    self.hyperlinks = hyperlinks\n    self.inline_code_lexer = inline_code_lexer\n    self.inline_code_theme = inline_code_theme or code_theme\n",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project function reference, markdown-it-py",
      "display": "markdown.py · __init__()",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project repository, markdown-it-py",
      "display": "Textualize/rich",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project stars, Textualize/rich",
      "display": "57.8K",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "Project push date, Textualize/rich",
      "display": "Nov 2026",
      "asOf": "2026-11-13"
    },
    "F28": {
      "label": "Library name, Markdown",
      "display": "Python-Markdown",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Monthly downloads, Markdown",
      "display": "119.6M",
      "asOf": "2026-11-16"
    },
    "F30": {
      "label": "License, Markdown",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Package release, Markdown",
      "display": "3.11.3, Nov 2026",
      "asOf": "2026-11-05"
    },
    "F32": {
      "label": "Package release date, Markdown",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F33": {
      "label": "Repository stars, Markdown",
      "display": "4.3K",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "CommonMark parsing, Markdown",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Syntax extensions, Markdown",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Output formats, Markdown",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, Markdown",
      "display": "pip install Markdown",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, Markdown",
      "display": "Converts Markdown into HTML fragments through an extensible parser.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, Markdown",
      "display": "Supports syntax extensions",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, Markdown",
      "display": "Enable bundled extensions or add custom syntax through the extension API.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, Markdown",
      "display": "Reuses configured parser instances",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, Markdown",
      "display": "Convert multiple documents with the same configured Markdown object.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, Markdown",
      "display": "Follows original Markdown syntax",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, Markdown",
      "display": "Choose another parser when CommonMark compatibility is required.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, Markdown",
      "display": "Untrusted output needs sanitizing",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, Markdown",
      "display": "Sanitize rendered HTML before displaying untrusted input.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, Markdown",
      "display": "import markdown\n\nsrc = 'Some **Markdown** text.'\nfragment = markdown.markdown(src)\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, Markdown",
      "display": "def read(self, source_path):\n    \"\"\"Parse content and metadata of markdown files\"\"\"\n\n    self._source_path = source_path\n    self._md = Markdown(**self.settings[\"MARKDOWN\"])\n    with pelican_open(source_path) as text:\n        content = self._md.convert(text)\n\n    if hasattr(self._md, \"Meta\"):\n        metadata = self._parse_metadata(self._md.Meta)\n    else:\n        metadata = {}\n    return content, metadata\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, Markdown",
      "display": "readers.py · read()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, Markdown",
      "display": "getpelican/pelican",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, getpelican/pelican",
      "display": "13.4K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, getpelican/pelican",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F53": {
      "label": "Library name, mistune",
      "display": "Mistune",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, mistune",
      "display": "71.2M",
      "asOf": "2026-11-16"
    },
    "F55": {
      "label": "License, mistune",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, mistune",
      "display": "3.4.0, Oct 2026",
      "asOf": "2026-10-19"
    },
    "F57": {
      "label": "Package release date, mistune",
      "display": "Oct 2026",
      "asOf": "2026-10-19"
    },
    "F58": {
      "label": "Repository stars, mistune",
      "display": "3.1K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Syntax extensions, mistune",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Syntax tree access, mistune",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Escapes raw HTML, mistune",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Output formats, mistune",
      "display": "HTML",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, mistune",
      "display": "pip install mistune",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, mistune",
      "display": "Renders Markdown with configurable plugins, renderers, and AST tokens.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, mistune",
      "display": "Escapes HTML in reusable parsers",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, mistune",
      "display": "create_markdown escapes raw HTML and rejects unsafe URL schemes by default.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, mistune",
      "display": "Returns structured tokens",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, mistune",
      "display": "Select renderer=None or renderer=ast to receive tokens instead of HTML.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, mistune",
      "display": "Legacy helper permits raw HTML",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, mistune",
      "display": "Use mistune.html only for trusted Markdown or sanitize its output.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, mistune",
      "display": "Custom renderers control their output",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, mistune",
      "display": "Keep escaping and URL checks when writing a renderer.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, mistune",
      "display": "import mistune\n\nclass ImagePrefixRenderer(mistune.HTMLRenderer):\n    def render_token(self, token, state):\n        if token['type'] == 'image':\n            attrs = dict(token['attrs'])\n            attrs['url'] = state.env.get('image_prefix', '') + attrs['url']\n            token = dict(token, attrs=attrs)\n        return super().render_token(token, state)\n\nmarkdown = mistune.create_markdown(renderer=ImagePrefixRenderer())\nstate = markdown.block.state_cls()\nstate.env['image_prefix'] = '/assets/'\nhtml, state = markdown.parse('![Logo](logo.png)', state=state)\nprint(html.strip())\n# <p><img src=\"/assets/logo.png\" alt=\"Logo\" /></p>\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function, mistune",
      "display": "def __init__(\n    self,\n    renderer: HTMLRenderer,\n    block: Optional[BlockParser] = None,\n    inline: Optional[InlineParser] = None,\n    plugins: Optional[Iterable[\"Plugin\"]] = None,\n):\n    \"\"\"Initialize the parser.\"\"\"\n    if block is None:\n        block = MathBlockParser()\n    if inline is None:\n        if MISTUNE_V3:\n            inline = MathInlineParser(hard_wrap=False)\n        else:\n            inline = MathInlineParser(renderer, hard_wrap=False)  # type: ignore[arg-type,misc]\n    if plugins is None:\n        plugins = (import_plugin(p) for p in self.DEFAULT_PLUGINS)\n\n    super().__init__(renderer, block, inline, plugins)\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function reference, mistune",
      "display": "markdown_mistune.py · __init__()",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project repository, mistune",
      "display": "jupyter/nbconvert",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project stars, jupyter/nbconvert",
      "display": "1.9K",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project push date, jupyter/nbconvert",
      "display": "Nov 2026",
      "asOf": "2026-11-02"
    },
    "F79": {
      "label": "Library name, marko",
      "display": "Marko",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Monthly downloads, marko",
      "display": "6.6M",
      "asOf": "2026-11-16"
    },
    "F81": {
      "label": "License, marko",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Package release, marko",
      "display": "2.2.5, Oct 2026",
      "asOf": "2026-10-27"
    },
    "F83": {
      "label": "Package release date, marko",
      "display": "Oct 2026",
      "asOf": "2026-10-27"
    },
    "F84": {
      "label": "Repository stars, marko",
      "display": "470",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "CommonMark parsing, marko",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Syntax extensions, marko",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Syntax tree access, marko",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Output formats, marko",
      "display": "Markdown",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Install, marko",
      "display": "pip install marko",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "What it does, marko",
      "display": "Parses CommonMark into an editable document tree with multiple renderers.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, marko",
      "display": "Exposes a document tree",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, marko",
      "display": "Traverse parsed headings, paragraphs, and inline elements.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, marko",
      "display": "Can normalize Markdown output",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, marko",
      "display": "Choose MarkdownRenderer to turn parsed documents back into Markdown.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, marko",
      "display": "Use separate instances per thread",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, marko",
      "display": "Create a new Markdown instance in each thread.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Quickstart, marko",
      "display": "from marko import Markdown, Parser, HTMLRenderer\nfrom marko.md_renderer import MarkdownRenderer\nfrom marko.ast_renderer import ASTRenderer, XMLRenderer\n\n# Default HTML renderer\nmd = Markdown(parser=Parser, renderer=HTMLRenderer)\n\n# Markdown renderer (normalizes markdown)\nmd_to_md = Markdown(renderer=MarkdownRenderer)\nnormalized = md_to_md(\"# Heading\\n\\n\\nExtra newlines\")\n\n# AST renderer (returns dict representation)\nmd_ast = Markdown(renderer=ASTRenderer)\nast_dict = md_ast(\"# Hello\")\n# {'element': 'document', 'children': [{'element': 'heading', 'level': 1, 'children': ['Hello']}]}\n\n# XML renderer\nmd_xml = Markdown(renderer=XMLRenderer)\nxml = md_xml(\"# Hello\")\n",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need",
      "display": "Original Markdown with extensions",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose Markdown",
      "display": "the bundled and custom extension API",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "original Markdown with extensions",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need",
      "display": "Traversing a token stream",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Why choose markdown-it-py",
      "display": "tokens and SyntaxTreeNode traversal",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "traversing a token stream",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "When to consider mistune",
      "display": "reusable parsers should escape raw HTML by default",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need",
      "display": "Reusable HTML-escaping parsers",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Why choose mistune",
      "display": "the reusable parser escaping raw HTML by default",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need in introduction",
      "display": "reusable HTML-escaping parsers",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "When to consider marko",
      "display": "traversable document elements fit the workflow",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need",
      "display": "Editing document structure",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Why choose marko",
      "display": "traversable document elements",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need in introduction",
      "display": "editing document structure",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "When to consider Markdown",
      "display": "the existing content relies on Python-Markdown extensions",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Page introduction",
      "display": "Python Markdown parser libraries let developers parse or render Markdown content.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which Python Markdown parser should I choose?",
      "display": "Python-Markdown follows original Markdown behavior and provides a syntax-extension API.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which Python Markdown parser should I choose?",
      "display": "markdown-it-py exposes tokens that can be assembled into a syntax tree.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which Python Markdown parser should I choose?",
      "display": "Mistune supports AST tokens and reusable HTML-escaping parsers.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which Python Markdown parser should I choose?",
      "display": "Marko provides a document tree that can be traversed and changed.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Is Python-Markdown a CommonMark implementation?",
      "display": "Python-Markdown explicitly follows the original Markdown rules rather than CommonMark.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does markdown-it-py permit raw HTML by default?",
      "display": "Its CommonMark-compliant default allows arbitrary HTML tags.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does markdown-it-py permit raw HTML by default?",
      "display": "The recommended preset for user-submitted content is js-default.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Do Mistune create_markdown and html use the same HTML behavior?",
      "display": "create_markdown escapes raw HTML and rejects unsafe URL schemes by default.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Do Mistune create_markdown and html use the same HTML behavior?",
      "display": "The legacy mistune.html parser instead uses escape=False.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Is raw-HTML escaping a general HTML sanitizer?",
      "display": "Mistune explicitly distinguishes raw-token escaping from general HTML sanitization.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Is raw-HTML escaping a general HTML sanitizer?",
      "display": "A custom renderer that emits raw HTML establishes its own trust boundary.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does Python-Markdown produce a complete HTML document?",
      "display": "It produces an HTML fragment; full html, head, and body tags need another tool.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Can a Python-Markdown object be reused across documents?",
      "display": "Some option and extension combinations require reset between convert calls.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Can a Python-Markdown object be reused across documents?",
      "display": "The reset method is available for that purpose.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: How can markdown-it-py rules change for one operation?",
      "display": "reset_rules temporarily changes enabled rules through a context manager.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Why does enabling markdown-it-py linkify require another install?",
      "display": "The linkify component requires linkify-it-py.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "FAQ: Why does enabling markdown-it-py linkify require another install?",
      "display": "GFM-like presets also require that dependency.",
      "asOf": "2026-11-17"
    },
    "F131": {
      "label": "FAQ: Can Marko return Markdown instead of HTML?",
      "display": "MarkdownRenderer normalizes Markdown output, while separate renderers produce HTML, AST values, and XML.",
      "asOf": "2026-11-17"
    },
    "F132": {
      "label": "FAQ: Can a Marko Markdown instance be shared across threads?",
      "display": "The class is not thread-safe; each thread needs its own instance.",
      "asOf": "2026-11-17"
    },
    "F133": {
      "label": "FAQ: Are returned token lists JSON export files?",
      "display": "Mistune renderer=None returns a list of tokens instead of HTML.",
      "asOf": "2026-11-17"
    },
    "F134": {
      "label": "FAQ: Are returned token lists JSON export files?",
      "display": "markdown-it-py similarly exposes a flat token stream before rendering.",
      "asOf": "2026-11-17"
    },
    "F135": {
      "label": "Library name, markdown-it-py",
      "display": "markdown-it-py",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Monthly downloads, markdown-it-py",
      "display": "593.6M",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "License, markdown-it-py",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Package release, markdown-it-py",
      "display": "4.3.0",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Package release date, markdown-it-py",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Install, markdown-it-py",
      "display": "pip install markdown-it-py",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Quickstart, markdown-it-py",
      "display": "from markdown_it import MarkdownIt\n\nhtml = MarkdownIt().render(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Repository stars, markdown-it-py",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Structured Markdown parse, markdown-it-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "CommonMark baseline, markdown-it-py",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Parser/result interface, markdown-it-py",
      "display": "parse returns a list of current Token objects stored in self.parsed for later Rich rendering. The function itself initializes a host Rich Markdown instance and returnsNone. Code theme/justification/style are host settings,not extra SDK calls.",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Host prerequisite, markdown-it-py",
      "display": ">=3.10",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project function, markdown-it-py",
      "display": "def __init__(\n    self,\n    markup: str,\n    code_theme: str = \"monokai\",\n    justify: JustifyMethod | None = None,\n    style: str | Style = \"none\",\n    hyperlinks: bool = True,\n    inline_code_lexer: str | None = None,\n    inline_code_theme: str | None = None,\n) -> None:\n    parser = MarkdownIt().enable(\"strikethrough\").enable(\"table\")\n    self.markup = markup\n    self.parsed = parser.parse(markup)\n    self.code_theme = code_theme\n    self.justify: JustifyMethod | None = justify\n    self.style = style\n    self.hyperlinks = hyperlinks\n    self.inline_code_lexer = inline_code_lexer\n    self.inline_code_theme = inline_code_theme or code_theme\n",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Project source file, markdown-it-py",
      "display": "rich/markdown.py",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project full_name, markdown-it-py",
      "display": "Textualize/rich",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project stargazers_count, markdown-it-py",
      "display": "57.8K",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Library name, Markdown",
      "display": "Python-Markdown",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Monthly downloads, Markdown",
      "display": "125.7M",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "License, Markdown",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Package release, Markdown",
      "display": "3.11.3",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Package release date, Markdown",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Install, Markdown",
      "display": "pip install Markdown",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Quickstart, Markdown",
      "display": "import markdown\n\nhtml = markdown.markdown(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Repository stars, Markdown",
      "display": "4.3K",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Structured Markdown parse, Markdown",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "CommonMark baseline, Markdown",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Parser/result interface, Markdown",
      "display": "convert receives Unicode file text and returns serializedHTML/XHTML. Optional Meta belongs to the separately configured native meta extension; absence is checked before host metadata extraction. Host _parse_metadata/pelican_open not counted as native operations.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Host prerequisite, Markdown",
      "display": ">=3.11",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project function, Markdown",
      "display": "def read(self, source_path):\n    \"\"\"Parse content and metadata of markdown files\"\"\"\n\n    self._source_path = source_path\n    self._md = Markdown(**self.settings[\"MARKDOWN\"])\n    with pelican_open(source_path) as text:\n        content = self._md.convert(text)\n\n    if hasattr(self._md, \"Meta\"):\n        metadata = self._parse_metadata(self._md.Meta)\n    else:\n        metadata = {}\n    return content, metadata\n",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project source file, Markdown",
      "display": "pelican/readers.py",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project full_name, Markdown",
      "display": "getpelican/pelican",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project stargazers_count, Markdown",
      "display": "13.4K",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Library name, mistune",
      "display": "mistune",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Monthly downloads, mistune",
      "display": "73.7M",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "License, mistune",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Package release, mistune",
      "display": "3.4.0",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Package release date, mistune",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Install, mistune",
      "display": "pip install mistune",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Quickstart, mistune",
      "display": "import mistune\n\nparser = mistune.create_markdown()\nhtml = parser(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Repository stars, mistune",
      "display": "3.1K",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Structured Markdown parse, mistune",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "CommonMark baseline, mistune",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Parser/result interface, mistune",
      "display": "Constructor stores custom renderer/parsers and registers iterated plugins through current native Markdown initialization. ReturnsNone,not rendered text. Host subclass regex/custom math methods and document rendering are not represented as execution-tested by signature proof.",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Host prerequisite, mistune",
      "display": ">=3.10",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "HTML trust mode, mistune",
      "display": "create_markdown escapes rawHTML by default; legacy html helper permits rawHTML and defaultplugins.",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project function, mistune",
      "display": "def __init__(\n    self,\n    renderer: HTMLRenderer,\n    block: Optional[BlockParser] = None,\n    inline: Optional[InlineParser] = None,\n    plugins: Optional[Iterable[\"Plugin\"]] = None,\n):\n    \"\"\"Initialize the parser.\"\"\"\n    if block is None:\n        block = MathBlockParser()\n    if inline is None:\n        if MISTUNE_V3:\n            inline = MathInlineParser(hard_wrap=False)\n        else:\n            inline = MathInlineParser(renderer, hard_wrap=False)  # type: ignore[arg-type,misc]\n    if plugins is None:\n        plugins = (import_plugin(p) for p in self.DEFAULT_PLUGINS)\n\n    super().__init__(renderer, block, inline, plugins)\n",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project source file, mistune",
      "display": "nbconvert/filters/markdown_mistune.py",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project full_name, mistune",
      "display": "jupyter/nbconvert",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project stargazers_count, mistune",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Library name, markdown2",
      "display": "markdown2",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Monthly downloads, markdown2",
      "display": "8.7M",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "License, markdown2",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release, markdown2",
      "display": "2.5.5",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release date, markdown2",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Install, markdown2",
      "display": "pip install markdown2",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Quickstart, markdown2",
      "display": "import markdown2\n\nhtml = markdown2.markdown(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Official description, markdown2",
      "display": "Implements Markdown in Python.",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Quickstart source file, markdown2",
      "display": "lib/markdown2.py",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Repository stars, markdown2",
      "display": "2.8K",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Structured Markdown parse, markdown2",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "CommonMark baseline, markdown2",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Parser/result interface, markdown2",
      "display": "Returns the host-cleanedHTML string after original strike-marker normalization. Current native conversion returns a str-compatible UnicodeWithAttrs; .strip remains supported. External cleanup behavior depends on its actual host configuration.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Host prerequisite, markdown2",
      "display": "<4,>=3.9",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Project function, markdown2",
      "display": "def clean_markup(text):\n    html = markdown2.markdown(text, extras=[\"cuddled-lists\", \"fenced-code-blocks\", \"pyshell\"]).strip()\n    cleaned = clean_html(html)\n    stroke_matches = re.findall(r\"~\\w+~\", cleaned)\n    for stroke_match in stroke_matches:\n        cleaned_match = stroke_match.strip(\"~\")\n        cleaned = cleaned.replace(stroke_match, cleaned_match)\n    return cleaned\n",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project source file, markdown2",
      "display": "engine/common/utils.py",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project full_name, markdown2",
      "display": "grafana-cold-storage/oncall",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project stargazers_count, markdown2",
      "display": "3.9K",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Library name, marko",
      "display": "marko",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Monthly downloads, marko",
      "display": "6.9M",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "License, marko",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Package release, marko",
      "display": "2.2.5",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Package release date, marko",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Install, marko",
      "display": "pip install marko",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Quickstart, marko",
      "display": "import marko\n\nhtml = marko.convert(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Repository stars, marko",
      "display": "470",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Structured Markdown parse, marko",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "CommonMark baseline, marko",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Parser/result interface, marko",
      "display": "Nativeconvert returns anHTML string; .replace removes newlines. Original exception handler returns emptystr on conversion failure. Current same-function property decorator retained; no claim that it becomes a standalone command.",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Host prerequisite, marko",
      "display": ">=3.9",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Spec-version conflict, marko",
      "display": "Selected2.2.5README claims CommonMark0.31.2; unversioned docs landing still says0.30.",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Project function, marko",
      "display": "@property\ndef description_html(self) -> str:\n    \"\"\"Description in HTML\"\"\"\n    description = getattr(self, \"description\", \"\")\n    try:\n        html = platform.marko.convert(description)\n        html = html.replace(\"\\n\", \"\")\n        return html\n    except Exception:\n        return \"\"\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project source file, marko",
      "display": "frictionless/metadata/metadata.py",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project full_name, marko",
      "display": "frictionlessdata/frictionless-py",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project stargazers_count, marko",
      "display": "858",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Library name, commonmark",
      "display": "commonmark",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Monthly downloads, commonmark",
      "display": "3.0M",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "License, commonmark",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Package release, commonmark",
      "display": "0.9.2",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release date, commonmark",
      "display": "May 2026",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Install, commonmark",
      "display": "pip install commonmark",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Quickstart, commonmark",
      "display": "import commonmark\n\nhtml = commonmark.commonmark(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Official description, commonmark",
      "display": "Parses Markdown to the CommonMark specification.",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Quickstart source file, commonmark",
      "display": "commonmark/main.py",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Repository stars, commonmark",
      "display": "237",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Structured Markdown parse, commonmark",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "CommonMark baseline, commonmark",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Parser/result interface, commonmark",
      "display": "Nativehelper renders a string through Parser/HtmlRenderer by default. Consumer updates metadata dictionary andRFC2822date; missing dependency warns and preserves text. Deprecation/no-maintenance warning remains explicit,not interpreted as an obsolete call signature.",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Host prerequisite, commonmark",
      "display": "Not declared in selected metadata",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Lifecycle, commonmark",
      "display": "Publisher says deprecated/no maintenance intended and recommends markdown-it-py.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project function, commonmark",
      "display": "def read_content(filename):\n    \"\"\"Read content and metadata from file into a dictionary.\"\"\"\n    # Read file content.\n    text = fread(filename)\n\n    # Read metadata and save it in a dictionary.\n    date_slug = os.path.basename(filename).split('.')[0]\n    match = re.search(r'^(?:(\\d\\d\\d\\d-\\d\\d-\\d\\d)-)?(.+)$', date_slug)\n    content = {\n        'date': match.group(1) or '1970-01-01',\n        'slug': match.group(2),\n    }\n\n    # Read headers.\n    end = 0\n    for key, val, end in read_headers(text):\n        content[key] = val\n\n    # Separate content from headers.\n    text = text[end:]\n\n    # Convert Markdown content to HTML.\n    if filename.endswith(('.md', '.mkd', '.mkdn', '.mdown', '.markdown')):\n        try:\n            if _test == 'ImportError':\n                raise ImportError('Error forced by test')\n            import commonmark\n            text = commonmark.commonmark(text)\n        except ImportError as e:\n            log('WARNING: Cannot render Markdown in {}: {}', filename, str(e))\n\n    # Update the dictionary with content and RFC 2822 date.\n    content.update({\n        'content': text,\n        'rfc_2822_date': rfc_2822_format(content['date'])\n    })\n\n    return content\n",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project source file, commonmark",
      "display": "makesite.py",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project full_name, commonmark",
      "display": "sunainapai/makesite",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project stargazers_count, commonmark",
      "display": "1.9K",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Library name, mistletoe",
      "display": "mistletoe",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Monthly downloads, mistletoe",
      "display": "2.8M",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "License, mistletoe",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Package release, mistletoe",
      "display": "1.6.0",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Package release date, mistletoe",
      "display": "Jul 2026",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Install, mistletoe",
      "display": "pip install mistletoe",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Quickstart, mistletoe",
      "display": "import mistletoe\n\nhtml = mistletoe.markdown(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Official description, mistletoe",
      "display": "Parses Markdown with an extensible API in pure Python.",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Quickstart source file, mistletoe",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Repository stars, mistletoe",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Structured Markdown parse, mistletoe",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "CommonMark baseline, mistletoe",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Parser/result interface, mistletoe",
      "display": "Nativeconversion returns anHTML fragment string. Consumer changes .html.md links,wraps a completeHTMLdocument,and writes llms.html. This does not claim sanitization,template escaping,or CommonMark-to-HTML injection safety.",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Host prerequisite, mistletoe",
      "display": "~=3.5",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project function, mistletoe",
      "display": "@call_parse\ndef main(\n    file_path='llms.txt'  # path to llms.txt file\n):\n    text = Path(file_path).read_text(encoding=\"utf-8\")\n    fragment = mistletoe.markdown(text)\n    processed = fragment.replace('.html.md\">', '.html\">')\n    full = f\"\"\"<!DOCTYPE html>\n    <html>\n    <head>\n    <title>llms.html</title>\n    </head>\n    <body>\n    {processed}\n    </body>\n    </html>\"\"\"\n    Path(\"llms.html\").write_text(full)\n",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project source file, mistletoe",
      "display": "llms_txt/txt2html.py",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Project full_name, mistletoe",
      "display": "AnswerDotAI/llms-txt",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Project stargazers_count, mistletoe",
      "display": "2.7K",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Library name, pyromark",
      "display": "pyromark",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Monthly downloads, pyromark",
      "display": "506.1K",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "License, pyromark",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Package release, pyromark",
      "display": "0.10.6",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Package release date, pyromark",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Install, pyromark",
      "display": "pip install pyromark",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Quickstart, pyromark",
      "display": "import pyromark\n\nhtml = pyromark.html(\"# Hello\")\n",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Official description, pyromark",
      "display": "Parses CommonMark Markdown as a pull parser written in Rust.",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Quickstart source file, pyromark",
      "display": "python/pyromark/_pyromark.pyi",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Repository stars, pyromark",
      "display": "43",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Structured Markdown parse, pyromark",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "CommonMark baseline, pyromark",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Parser/result interface, pyromark",
      "display": "Preserves UTF8 byte-offset range semantics; returned pair is rewritten text and materialized current ranged events. Original helper _literal_delimiters rescans original eventunion and re-escapes delimiters untilstable; helper logic is host context and not claimed separately certified. Current declared iterator explains explicit tuple materialization.",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Host prerequisite, pyromark",
      "display": ">=3.11",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Implementation and deployment, pyromark",
      "display": "Rust pulldown-cmark native backend; Python3.11+ with platformwheel/sourcebuild constraints.",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Source ranges, pyromark",
      "display": "events_with_range yields lazy events paired with UTF8 byte ranges.",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Project function, pyromark",
      "display": "def _parse(\n    markdown: str, options: pyromark.Options, *, latex_escape: bool\n) -> tuple[str, tuple]:\n    \"\"\"Preprocess and parse Markdown; return the parsed text and its ranged events.\n\n    Two delimiter readings that the Markdown extensions allow are rarely what\n    chat text means, so their delimiters are escaped and the text parsed again\n    until neither remains. Escaped delimiters never match again, so this ends.\n\n    - Inline math whose closing ``$`` is directly followed by a digit, as in\n      ``$10.49 (~$11.20)``, is two prices (pandoc's rule for ``$`` math).\n    - Strikethrough takes ``~~``; a single ``~`` reads as \"approximately\".\n    \"\"\"\n    text = _escape_latex(markdown) if latex_escape else markdown\n    text = _preprocess_spoilers(text, options)\n    # pyromark >= 0.10 returns a one-shot iterator; materialize it so the\n    # delimiter scan and EventWalker can both iterate.\n    events = tuple(pyromark.events_with_range(text, options=options))\n    while offsets := _literal_delimiters(text, events):\n        text = _escape_at(text, offsets)\n        events = tuple(pyromark.events_with_range(text, options=options))\n    return text, events\n",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Project source file, pyromark",
      "display": "src/telegramify_markdown/converter.py",
      "asOf": "2026-11-20"
    },
    "F274": {
      "label": "Project full_name, pyromark",
      "display": "sudoskys/telegramify-markdown",
      "asOf": "2026-11-20"
    },
    "F275": {
      "label": "Project stargazers_count, pyromark",
      "display": "387",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python Markdown parser libraries Python-Markdown markdown-it-py Mistune Marko code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
