6f6ad0514d
Otherwise we can't parse something like ``` \lowercase{\def\x{Foo}} ``` I have actually seen tex like this in the wild.
9 lines
197 B
Markdown
9 lines
197 B
Markdown
```
|
|
% 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"]]
|
|
```
|