summaryrefslogtreecommitdiff
path: root/tests/writer.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/writer.rst')
-rw-r--r--tests/writer.rst18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/writer.rst b/tests/writer.rst
index 189886a87..09fd8dcb3 100644
--- a/tests/writer.rst
+++ b/tests/writer.rst
@@ -8,6 +8,7 @@ Pandoc Test Suite
.. role:: math(raw)
:format: html latex
+..
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
markdown test suite.
@@ -597,15 +598,16 @@ LaTeX
=====
-
-- :math:`$2+2=4$`
-- :math:`$x \in y$`
-- :math:`$\alpha \wedge \omega$`
-- :math:`$223$`
-- :math:`$p$`-Tree
+- :math:`2+2=4`
+- :math:`x \in y`
+- :math:`\alpha \wedge \omega`
+- :math:`223`
+- :math:`p`\ -Tree
- Here’s some display math:
- :math:`$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$`
-- Here’s one that has a line break in it:
- :math:`$\alpha + \omega \times x^2$`.
+
+ .. math:: \frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
+
+- Here’s one that has a line break in it: :math:`\alpha + \omega \times x^2`\ .
These shouldn’t be math: