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

github.com/Python-Markdown/markdown

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.11.4 ↗ · + Follow · compare 6 versions
1,624 symbols 4,461 edges 73 files 521 documented · 32% ● updated 1d ago3.11.3 · 2026-11-05★ 4,25917 open issues

Browse by type

⨍ Functions 1,421◇ Types & classes 202↳ 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,345
Class 202
Function 76
Route 1

Languages

Python100%

Modules by API surface

tests/test_apis.py149 symbols
tests/test_syntax/blocks/test_html_blocks.py136 symbols
markdown/inlinepatterns.py85 symbols
tests/test_syntax/extensions/test_md_in_html.py82 symbols
tests/test_syntax/blocks/test_headers.py82 symbols
tests/test_syntax/extensions/test_toc.py74 symbols
tests/test_syntax/inline/test_emphasis.py54 symbols
tests/test_syntax/extensions/test_fenced_code.py54 symbols
tests/test_syntax/extensions/test_code_hilite.py53 symbols
tests/test_syntax/blocks/test_hr.py48 symbols
markdown/blockprocessors.py46 symbols
tests/test_syntax/inline/test_links.py44 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page