+ 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.
39 lines
573 B
Markdown
39 lines
573 B
Markdown
```
|
|
% pandoc -t beamer
|
|
# Slide
|
|
|
|
Some blocks:
|
|
|
|
## example block title {.example}
|
|
|
|
text in block
|
|
|
|
## alert block title {.alert}
|
|
|
|
text in block
|
|
|
|
## block title
|
|
|
|
text in block
|
|
^D
|
|
\begin{frame}{Slide}
|
|
\phantomsection\label{slide}
|
|
Some blocks:
|
|
|
|
\begin{exampleblock}{example block title}
|
|
\phantomsection\label{example-block-title}
|
|
text in block
|
|
\end{exampleblock}
|
|
|
|
\begin{alertblock}{alert block title}
|
|
\phantomsection\label{alert-block-title}
|
|
text in block
|
|
\end{alertblock}
|
|
|
|
\begin{block}{block title}
|
|
\phantomsection\label{block-title}
|
|
text in block
|
|
\end{block}
|
|
\end{frame}
|
|
```
|