This is an implementation of GitHub-Flavored Markdown written as an extension to the Python Markdown library. It aims for maximal compatibility with GitHub's rendering.
Sphinx documentation is in the doc/
folder. Build it with:
cd doc && make html
You can browse or download the precompiled documentation on Read the Docs.
- Fenced code blocks
- Literal line breaks
- Tables
- Hyperlink parsing (
http
,https
,ftp
,email
andwww
subdomains) - Code highlighting (dummy, no actual syntactic coloration as-is)
- Mixed-style lists with no separation
- Links and images with whitespace
- Strikethrough
- Task lists
This implementation does not support all of GFM features.
- Link to commits, issues, pull requests and user profiles: this is application specific. Feel free to subclass the provided classes to implement your own logic.
- Horizontal rules
- Emojis
BSD-style. See LICENSE.