aboutsummaryrefslogtreecommitdiff
path: root/test/command/ifstrequal.md
blob: 92fe6bf9567aa379382c1abfcf7d54e7cc48c9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
```
% 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" ]
    , SoftBreak
    , Str "\225"
    , SoftBreak
    , Str "b"
    ]
]
```