{% extends 'markup/base.html' %} {% block pagetitle %}: Markup help{% endblock pagetitle %} {% block breadcrumb_items %} {{ block.super }} Help reStructuredText {% endblock %} {% load process_markup %} {% block content %}

reStructuredText help

Mathematics

For mathematics in reStructuredText, you must use the math directive/role.

If you write:

{{ snippets.maths_inline_online }}

You will get:

{{ snippets.maths_inline_online|process_markup:'reStructuredText' }}
{% with language='reStructuredText' %}

Math snippets

{{ math_snippets.length }} {% for snippet in math_snippets %}

{{ snippet.title }}

{{ snippet.raw }}
{{ snippet.raw|process_markup:language }}
{% endfor %}
{% endwith %} {% endblock content %}