Coverage for markupmirror.markup.restructuredtext : 89%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Markup transformer for `reStructuredText`_ content.
.. _reStructuredText: http://docutils.sourceforge.net/rst.html
"""
source=smart_str(markup), writer_name='html4css1') # Intentionally return ``html_body`` instead of ``fragment`` as # Django's templatetag does. ``html_body`` also includes the document's # title and subtitle, and if the first parts of ``markup`` are # headlines (=== or ---), they would be stripped off the result # otherwise.
# Only register if docutils is installed except ImportError: pass
|