aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/tex-group.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/tex-group.md b/test/command/tex-group.md
new file mode 100644
index 000000000..277b32142
--- /dev/null
+++ b/test/command/tex-group.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f latex -t html
+\newenvironment{foo}%
+{\emph\bgroup}%
+{\egroup}
+
+\begin{foo}
+hi
+\end{foo}
+^D
+<p><em>hi</em></p>
+```