reStructuredTextΒΆ

  • Filter name: restructuredtext
  • Pypi package: Docutils

This filter converts a reStructuredText string to HTML. See a quick reference about reStructuredText.

This filter comes with default settings:

{
    'settings_overrides': {
        'raw_enabled': True,
        'file_insertion_enabled': True,
    }
}

You can override them by either subclassing the related MarkupFilter class or using the global settings:

MARKUP_SETTINGS = {
   'restructuredtext': {
      'settings_overrides': {
         'raw_enabled': True,
         'file_insertion_enabled': True,
      }
   }
}