mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
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.
8 lines
131 B
Markdown
8 lines
131 B
Markdown
No highlighting inside heading:
|
|
```
|
|
% pandoc -t latex
|
|
# `foo`{.cpp}
|
|
^D
|
|
\section{\texorpdfstring{\texttt{foo}}{foo}}\label{foo}
|
|
```
|