summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/markdown-reader-more.native4
-rw-r--r--tests/markdown-reader-more.txt6
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native
index 104baeaa6..200855a09 100644
--- a/tests/markdown-reader-more.native
+++ b/tests/markdown-reader-more.native
@@ -39,4 +39,6 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple",
, Para [Str "Explanation",Space,Str "of",Space,Str "examples",Space,Str "(",Str "2",Str ")",Space,Str "and",Space,Str "(",Str "3",Str ")",Str "."]
, OrderedList (3,Example,TwoParens)
[ [ Plain [Str "Third",Space,Str "example",Str "."] ]
- ] ]
+ ]
+, Header 2 [Str "Macros"]
+, Para [Math InlineMath "\\langle x,y \\rangle"] ]
diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt
index 29e210088..5e03d7152 100644
--- a/tests/markdown-reader-more.txt
+++ b/tests/markdown-reader-more.txt
@@ -100,3 +100,9 @@ Explanation of examples (@foo) and (@bar).
(@bar) Third example.
+## Macros
+
+\newcommand{\tuple}[1]{\langle #1 \rangle}
+
+$\tuple{x,y}$
+