mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
f7035d080c
+ 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.
645 B
645 B
% pandoc -t beamer
# Level 2 blocks
<div class="columns">
<div class="column" width="40%">
## Block one
- Item
</div>
<div class="column" width="60%">
## Block two
- Item
</div>
</div>
^D
\begin{frame}{Level 2 blocks}
\phantomsection\label{level-2-blocks}
\begin{columns}[T]
\begin{column}{0.4\textwidth}
\begin{block}{Block one}
\phantomsection\label{block-one}
\begin{itemize}
\tightlist
\item
Item
\end{itemize}
\end{block}
\end{column}
\begin{column}{0.6\textwidth}
\begin{block}{Block two}
\phantomsection\label{block-two}
\begin{itemize}
\tightlist
\item
Item
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame}