mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 20:07:22 +00:00
70329edcd7
We no longer wrap section headings in a `\hypertarget`. This is unnecessary (hyperref creates an anchor based on the label) and it interferes with tagging. In addition, we now use `\hyperref` rather than `\hyperlink` for internal links. Currently `\hypertarget` is still being used for link anchors not on headings. Closes #8744. Thanks to @u-fischer.
131 B
131 B
No highlighting inside heading:
% pandoc -t latex
# `foo`{.cpp}
^D
\section{\texorpdfstring{\texttt{foo}}{foo}}\label{foo}