aboutsummaryrefslogtreecommitdiff
path: root/test/command/7092.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-02-12 17:43:00 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-12 19:04:14 -0800
commit59875185b3da8f57174f1b3da42c750f4c3ee910 (patch)
treee045753132f4048ae13e2eaa7f8b338b1310e324 /test/command/7092.md
parent8ffd4159d6f0ca4f13a84b27e3f8654f01c63d59 (diff)
downloadpandoc-59875185b3da8f57174f1b3da42c750f4c3ee910.tar.gz
Add command test for #7092
Diffstat (limited to 'test/command/7092.md')
-rw-r--r--test/command/7092.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/7092.md b/test/command/7092.md
new file mode 100644
index 000000000..e7f127244
--- /dev/null
+++ b/test/command/7092.md
@@ -0,0 +1,8 @@
+```
+% pandoc -flatex+raw_tex -t native
+\newcommand{\em}[1]{\emph{#1}}
+
+\em{\parseMe{foo}}
+^D
+[Para [Emph [RawInline (Format "latex") "\\parseMe{foo}"]]]
+```