MCPcopy Create free account
hub / github.com/Python-Markdown/markdown

github.com/Python-Markdown/markdown

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.11.0 ↗ · + Follow · compare 4 versions
1,477 symbols 4,045 edges 72 files 467 documented · 32% ● updated 9d ago3.10.3 · 2026-07-30★ 4,25019 open issues

Browse by type

⨍ Functions 1,282◇ Types & classes 194↳ Endpoints 1
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Python-Markdown

Build Status Coverage Status Latest Version Python Versions BSD License Code of Conduct

This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.

Documentation

pip install markdown
import markdown
html = markdown.markdown(your_text_string)

For more advanced installation and usage documentation, see the docs/ directory of the distribution or the project website at https://Python-Markdown.github.io/.

See the change log at https://python-markdown.github.io/changelog/.

Support

You may report bugs, ask for help, and discuss various other issues on the bug tracker.

Code of Conduct

Everyone interacting in the Python-Markdown project's code bases, issue trackers, and mailing lists is expected to follow the Code of Conduct.

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 1,207
Class 194
Function 75
Route 1

Languages

Python100%

Modules by API surface

tests/test_apis.py148 symbols
tests/test_syntax/blocks/test_html_blocks.py123 symbols
tests/test_syntax/extensions/test_md_in_html.py82 symbols
tests/test_syntax/blocks/test_headers.py80 symbols
markdown/inlinepatterns.py72 symbols
tests/test_syntax/extensions/test_toc.py64 symbols
tests/test_syntax/extensions/test_code_hilite.py52 symbols
tests/test_syntax/extensions/test_fenced_code.py49 symbols
tests/test_syntax/blocks/test_hr.py48 symbols
markdown/blockprocessors.py46 symbols
tests/test_syntax/inline/test_links.py42 symbols
markdown/extensions/footnotes.py40 symbols

For agents

$ claude mcp add markdown \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page