aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/macros.md8
-rw-r--r--test/markdown-reader-more.native1
2 files changed, 9 insertions, 0 deletions
diff --git a/test/command/macros.md b/test/command/macros.md
new file mode 100644
index 000000000..74d63ef08
--- /dev/null
+++ b/test/command/macros.md
@@ -0,0 +1,8 @@
+```
+% pandoc -t markdown
+\newcommand{\my}{\phi}
+$\my+\my$
+^D
+\newcommand{\my}{\phi}
+$\phi+\phi$
+```
diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native
index 5d63a21de..a24417ffe 100644
--- a/test/markdown-reader-more.native
+++ b/test/markdown-reader-more.native
@@ -56,6 +56,7 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "Author",S
,OrderedList (3,Example,TwoParens)
[[Plain [Str "Third",Space,Str "example."]]]
,Header 2 ("macros",[],[]) [Str "Macros"]
+,RawBlock (Format "latex") "\\newcommand{\\tuple}[1]{\\langle #1 \\rangle}"
,Para [Math InlineMath "\\langle x,y \\rangle"]
,Header 2 ("case-insensitive-references",[],[]) [Str "Case-insensitive",Space,Str "references"]
,Para [Link ("",[],[]) [Str "Fum"] ("/fum","")]