summaryrefslogtreecommitdiff
path: root/test/command/ifstrequal.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/ifstrequal.md')
-rw-r--r--test/command/ifstrequal.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md
new file mode 100644
index 000000000..4ad04d2e1
--- /dev/null
+++ b/test/command/ifstrequal.md
@@ -0,0 +1,10 @@
+```
+% pandoc -f latex -t native
+\ifstrequal{a}{b}{yes}{\emph{no}}
+\newcommand{\h}[1]{\ifstrequal{#1}{a}{\'a}{#1}}
+\h{a}
+\h{b}
+^D
+[Para [Emph [Str "no"]]
+,Para [Str "\225",SoftBreak,Str "b"]]
+```