<!DOCTYPE html> <html> <head> <meta charset=utf-8> <title>Extra Extension — Python Markdown</title> <link rel="stylesheet" href="../default.css" type="text/css"> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../siteindex.html" title="General Index">index</a></li> <li class="right"> <a href="abbreviations.html" title="Abreviation Extension" accesskey="N">next</a> |</li> <li class="right"> <a href="index.html" title="Extensions" accesskey="P">previous</a> |</li> <li><img src="../py.png" alt="" style="vertical-align: middle; margin-top: -1px"/></li> <li><a href="../index.html">Python Markdown v2.3.1 documentation</a> »</li> <li><a href="index.html">Extensions</a> »</li> <li><a href="extra.html">Extra Extension</a> »</li> </ul> </div> <!-- .related --> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <h1 id="python-markdown-extra">Python-Markdown Extra</h1> <h2 id="summary">Summary</h2> <p>A compilation of various Python-Markdown extensions that (mostly) imitates <a href="http://michelf.com/projects/php-markdown/extra/">PHP Markdown Extra</a>.</p> <p>The supported extensions include:</p> <ul> <li><a href="abbreviations.html">Abbreviations</a></li> <li><a href="attr_list.html">Attribute Lists</a></li> <li><a href="definition_lists.html">Definition Lists</a></li> <li><a href="fenced_code_blocks.html">Fenced Code Blocks</a></li> <li><a href="footnotes.html">Footnotes</a></li> <li><a href="tables.html">Tables</a></li> <li><a href="smart_strong.html">Smart Strong</a></li> </ul> <p>See each individual extension for syntax documentation. Extra and all its supported extensions are included in the standard Markdown library.</p> <h2 id="usage">Usage</h2> <p>From the Python interpreter:</p> <pre><code>>>> import markdown >>> html = markdown.markdown(text, ['extra']) </code></pre> <p>There may be <a href="index.html">additional extensions</a> 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 <a href="api.html">Extension API</a>). </p> </div> <!-- .body --> </div> <!-- .bodywrapper --> </div> <!-- .documentwrapper --> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3>Table Of Contents</h3> <div class="toc"> <ul> <li><a href="#python-markdown-extra">Python-Markdown Extra</a><ul> <li><a href="#summary">Summary</a></li> <li><a href="#usage">Usage</a></li> </ul> </li> </ul> </div> <h4>Previous topic</h4> <p class="topless"><a href="index.html" title="previous chapter">Extensions</a></p> <h4>Next topic</h4> <p class="topless"><a href="abbreviations.html" title="next chapter">Abreviation Extension</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="https://github.com/waylan/Python-Markdown/issues" >Report a Bug</a></li> <li><a href="extra.txt" rel="nofollow">Show Source</a></li> </ul> </div> <!-- .sphinxsidebarwrapper --> </div> <!-- .sphinxsidebar --> <div class="clearer"></div> </div> <!-- .document --> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../siteindex.html" title="General Index">index</a></li> <li class="right"> <a href="abbreviations.html" title="Abreviation Extension" accesskey="N">next</a> |</li> <li class="right"> <a href="index.html" title="Extensions" accesskey="P">previous</a> |</li> <li><img src="../py.png" alt="" style="vertical-align: middle; margin-top: -1px"/></li> <li><a href="../index.html">Python Markdown v2.3.1 documentation</a> »</li> <li><a href="index.html">Extensions</a> »</li> <li><a href="extra.html">Extra Extension</a> »</li> </ul> </div> <!-- .related --> <div class="footer">© 2010-2012 Python Markdown Project</div> </body> </html>