mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
f7035d080c
+ Use `\phantomsection` and `\label` instead of `\hypertarget`. + Use `\hyperref` for LaTeX internal links, `\hyperlink` for beamer (since `\hyperref` doesn't seem to work). Closes #9022.
216 B
216 B
% pandoc -f native -t latex --wrap=none
[Link ("test2",[],[]) [Str "link",Space,Str "to",Space,Str "text",Space,Str "test1"] ("#test1","")]
^D
\phantomsection\label{test2}\hyperref[test1]{link to text test1}