Skip to content
Permalink
Browse files

Note about math in Markdown

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 5, 2016
1 parent efd366e commit 68d0a1ee9cfdd719657377942645495be4cb5dbd
Showing with 11 additions and 2 deletions.
  1. +11 −2 docs/manual.txt
@@ -1553,12 +1553,16 @@ In reST:

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

In other input formats:
In HTML and other input formats:

.. code:: text

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

Note that some input formats (including Markdown) require using **double
backslashes** in the delimiters (``\\(inline math\\)``). Please check your
output first before reporting bugs.

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

@@ -1575,12 +1579,17 @@ In reST:

\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C

In other input formats:
In HTML and other input formats:

.. code:: text

\[\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C\]

Note that some input formats (including Markdown) require using **double
backslashes** in the delimiters (``\\[display math\\]``). Please check your
output first before reporting bugs.


reStructuredText Extensions
---------------------------

0 comments on commit 68d0a1e

Please sign in to comment.
You can’t perform that action at this time.