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

github.com/Python-Markdown/markdown

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.11.3 ↗ · + Follow · compare 5 versions
1,583 symbols 4,346 edges 72 files 506 documented · 32% ● updated 46d ago3.11.0 · 2026-09-25★ 4,25419 open issues

Browse by type

⨍ Functions 1,385◇ Types & classes 197↳ 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,309
Class 197
Function 76
Route 1

Languages

Python100%

Modules by API surface

tests/test_apis.py148 symbols
tests/test_syntax/blocks/test_html_blocks.py136 symbols
tests/test_syntax/extensions/test_md_in_html.py82 symbols
tests/test_syntax/blocks/test_headers.py81 symbols
markdown/inlinepatterns.py81 symbols
tests/test_syntax/extensions/test_toc.py69 symbols
tests/test_syntax/extensions/test_code_hilite.py53 symbols
tests/test_syntax/extensions/test_fenced_code.py50 symbols
tests/test_syntax/inline/test_emphasis.py49 symbols
tests/test_syntax/blocks/test_hr.py48 symbols
markdown/blockprocessors.py46 symbols
tests/test_syntax/inline/test_links.py42 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page