summaryrefslogtreecommitdiff
path: root/test/command/latex-command-comment.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-31 11:30:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-31 11:31:35 -0700
commit5f9f458df394686405b525757d1b5ef3b4cbad17 (patch)
tree4c1eefd45f6fbefaef5c2902ef33958332639e99 /test/command/latex-command-comment.md
parentb90a0fe3dc71ac798fefc734983d5c896226be2c (diff)
LaTeX reader: handle `%` comment right after command.
For example \emph% {hi}
Diffstat (limited to 'test/command/latex-command-comment.md')
-rw-r--r--test/command/latex-command-comment.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/latex-command-comment.md b/test/command/latex-command-comment.md
new file mode 100644
index 000000000..640277f15
--- /dev/null
+++ b/test/command/latex-command-comment.md
@@ -0,0 +1,7 @@
+```
+pandoc -f latex -t native
+\emph%
+{hi}
+^D
+[Para [Emph [Str "hi"]]]
+```