title: Extra Extension

Python-Markdown Extra


A compilation of various Python-Markdown extensions that (mostly) imitates PHP Markdown Extra.

The supported extensions include:

See each individual extension for syntax documentation. Extra and all its supported extensions are included in the standard Markdown library.


From the Python interpreter:

>>> import markdown
>>> html = markdown.markdown(text, extensions=['extra'])

There may be additional extensions that are distributed with Python-Markdown that are not included here in Extra. The features of those extensions are not part of PHP Markdown Extra, and therefore, not part of Python-Markdown Extra. If you really would like Extra to include additional extensions, we suggest creating your own clone of Extra under a different name (see the Extension API).