Open bcdavasconcelos opened 3 years ago
You don't need raw tex for this kind of thing.
% pandoc -t latex
Lorem [etc]{#anchor}
Lorem [the link](#anchor) etc
^D
Lorem \protect\hypertarget{anchor}{}{etc}
Lorem \protect\hyperlink{anchor}{the link} etc
But there's definitely a problem here with the way \hypertarget
is being handled.
Version: Pandoc 2.14.0.3 Command:
/usr/local/bin/pandoc -f markdown+raw_tex untitled.md -t latex -o untitled.tex
Markdown source
Expected output
Actual output
Shouldn't the command
\hypertarget
, like its counterpart\hyperlink
, be preserved with the addition of+raw_tex
to the conversion command?