summaryrefslogtreecommitdiff
path: root/test/command/987.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-10 09:46:32 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-10 09:46:32 +0100
commitc46febaaeef1c203f5bbb88d845ad5554622f609 (patch)
tree18654f772bb8d50d4b9345031b3076e90340ac65 /test/command/987.md
parenta088d67f0d7212c96f5b59c568f0fc61a1106be4 (diff)
Expand \newenvironment macros.
Closes #987. Depends on still unreleased texmath 0.9.3.
Diffstat (limited to 'test/command/987.md')
-rw-r--r--test/command/987.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/987.md b/test/command/987.md
new file mode 100644
index 000000000..f632231ef
--- /dev/null
+++ b/test/command/987.md
@@ -0,0 +1,12 @@
+```
+pandoc -f latex -t markdown
+\documentclass{article}
+\newenvironment{flubble}{FOO}{BAR}
+\begin{document}
+ \begin{flubble}
+ grr
+ \end{flubble}
+\end{document}
+^D
+FOO grr BAR
+```