pandoc/test/command/write18.md
John MacFarlane 013fd1c6b6 Make sure \write18 is parsed as raw LaTeX.
The change is in the LaTeX reader's treatment of raw commands,
but it also affects the Markdown reader.
2017-07-12 14:50:49 +02:00

14 lines
268 B
Markdown

Handle \write18{..} as raw tex:
```
% pandoc -t native
\write18{git --version}
^D
[RawBlock (Format "latex") "\\write18{git --version}"]
```
```
% pandoc -f latex+raw_tex -t native
\write18{git --version}
^D
[RawBlock (Format "latex") "\\write18{git --version}"]
```