pandoc/test/command/parse-raw.md
John MacFarlane 28cad16517 Markdown writer: prefer using raw_attribute when enabled.
The `raw_attribute` will be used to mark raw bits, even HTML
and LaTeX, and even when `raw_html` and `raw_tex` are enabled,
as they are by default.

To get the old behavior, disable `raw_attribute` in the writer.

Closes #4311.
2019-07-18 22:31:03 -07:00

379 B

% pandoc -f latex+raw_tex -t markdown
\emph{Hi \foo{there}}
^D
*Hi `\foo{there}`{=latex}*
% pandoc -f latex -t markdown
\emph{Hi \foo{there}}
^D
*Hi*
% pandoc -f html+raw_html -t markdown
<em>Hi <blink>there</blink></em>
^D
*Hi `<blink>`{=html}there`</blink>`{=html}*
% pandoc -f html -t markdown
<em>Hi <blink>there</blink></em>
^D
*Hi there*