Skip to content

Commit

Permalink
Fix mathjax (getnikola/nikola#1984)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 31, 2015
1 parent 41b6c33 commit c88db69
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions stories/manual.txt
Expand Up @@ -1392,8 +1392,10 @@ Math
----

Nikola supports math input via MathJax. It is activated via the math roles and
directives of reStructuredText and the usual LaTeX delimiters (``\(inline\)``
and ``\[display\]``) for other input formats.
directives of reStructuredText and the usual LaTeX delimiters
(backslash-parentheses, backslash-brackets) for other input formats.

To use mathematics in a post, you must add the ``mathjax`` tag.

We **DO NOT** support the old, deprecated and error-prone ``$inline$``
delimiters by default. If you want to use them, please add them manually,
Expand All @@ -1417,7 +1419,8 @@ like this:
</script>
"""

Inline mathematics are produced using the reST `math` **role** or the ``\(…\)`` delimiters:
Inline mathematics are produced using the reST `math` **role** or the LaTeX
backslash-parentheses delimiters:

Euler’s formula: :math:`e^{ix} = \cos x + i\sin x`

Expand All @@ -1433,7 +1436,8 @@ In other input formats:

Euler’s formula: \(e^{ix} = \cos x + i\sin x\)

Display mathematics are produced using the reST `math` **directive** or the ``\[…\]`` delimiters:
Display mathematics are produced using the reST `math` **directive** or the
LaTeX backslash-brackets delimiters:

.. math::

Expand Down

0 comments on commit c88db69

Please sign in to comment.