mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-03 14:15:40 +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.
16 lines
220 B
Markdown
16 lines
220 B
Markdown
```
|
|
% pandoc -t latex
|
|
# One {.unlisted}
|
|
|
|
# Two {.unnumbered}
|
|
|
|
# Three {.unlisted .unnumbered}
|
|
^D
|
|
\section{One}\label{one}
|
|
|
|
\section*{Two}\label{two}
|
|
\addcontentsline{toc}{section}{Two}
|
|
|
|
\section*{Three}\label{three}
|
|
```
|