# markdown2

Python implementation of Markdown that converts Markdown text to HTML, with optional extras such as tables and footnotes.


Source: https://findsoftware.frbit.cloud/markdown2/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/trentm/python-markdown2
- docs: https://github.com/trentm/python-markdown2/wiki
- x: https://x.com/trentmick

### Identity

- status: active
- maintainer: Trent Mick
- maintainerType: individual
- parent: unknown
- firstRelease: 2008
- hqCountry: unknown

### Kind

- category: library
- hosting: python
- language: python
- runtime: python
- runtimeMin: python 3.9
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: pip install, setup.py install, easy_install, pypm install, copy lib/markdown2.py

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-03-02

### Adoption

- githubStargazers: 2822
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 96
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/trentm/python-markdown2 (read 2026-11-16)
- urls: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- maintainer: https://github.com/trentm/python-markdown2/blob/master/LICENSE.txt (read 2026-11-16)
- maintainerType: https://github.com/trentm/python-markdown2/blob/master/LICENSE.txt (read 2026-11-16)
- language: https://api.github.com/repos/trentm/python-markdown2 (read 2026-11-16)
- category: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- runtime: https://github.com/trentm/python-markdown2/blob/2.5.5/setup.py (read 2026-11-16)
- runtimeMin: https://github.com/trentm/python-markdown2/blob/2.5.5/setup.py (read 2026-11-16)
- installMethod: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- installMethod: https://github.com/trentm/python-markdown2/blob/master/README.md (read 2026-11-16)
- license: https://github.com/trentm/python-markdown2/blob/master/LICENSE.txt (read 2026-11-16)
- licenseModel: https://github.com/trentm/python-markdown2/blob/master/LICENSE.txt (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/trentm/python-markdown2 (read 2026-11-16)
- contributors: https://api.github.com/repos/trentm/python-markdown2/contributors?per_page=1 (read 2026-11-16)
- currentMajor: https://pypi.org/pypi/markdown2/json (read 2026-11-16)
- latestReleaseDate: https://pypi.org/pypi/markdown2/json (read 2026-11-16)
- firstRelease: https://pypi.org/pypi/markdown2/json (read 2026-11-16)

## Notes

markdown2 is a Python module that converts Markdown text to HTML. It is called from code through a function or a converter object, and the README also shows a command-line form that converts a file. Extras such as tables, footnotes, header IDs, a table of contents and syntax coloring of code blocks are switched on by name when converting. Syntax coloring needs Pygments, which the `all` extra of the install command brings in.

Trent Mick maintains the project in a personal repository. The README says everything needed to run it is in one file, which can be copied onto the Python path as a module or onto the executable path as a script.

## Worth knowing

Some files in the repository, used for testing and performance work, carry licenses other than MIT. The package the registry ships is under MIT.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
