+ 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.
15 lines
163 B
Markdown
15 lines
163 B
Markdown
```
|
|
% pandoc -f html -t latex
|
|
<a></a>
|
|
<br/>
|
|
^D
|
|
{}\strut \\
|
|
```
|
|
|
|
```
|
|
% pandoc -f html -t latex
|
|
<a name="foo"></a><br/>
|
|
^D
|
|
\phantomsection\label{foo}{}\strut \\
|
|
```
|