mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-10 19:37:12 +00:00
70329edcd7
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.
900 B
900 B
% pandoc -t beamer --slide-level=4
# One
## One-A
:::: columns
::: column
- One column.
:::
::: column
- Another column.
:::
::::
- Some more text.
## One-B
- Text.
# Two
## Two-A
- More text.
^D
\section{One}\label{one}
\subsection{One-A}\label{one-a}
\begin{frame}{One-A}
\begin{columns}[T]
\begin{column}{0.48\textwidth}
\begin{itemize}
\tightlist
\item
One column.
\end{itemize}
\end{column}
\begin{column}{0.48\textwidth}
\begin{itemize}
\tightlist
\item
Another column.
\end{itemize}
\end{column}
\end{columns}
\begin{itemize}
\tightlist
\item
Some more text.
\end{itemize}
\end{frame}
\subsection{One-B}\label{one-b}
\begin{frame}{One-B}
\begin{itemize}
\tightlist
\item
Text.
\end{itemize}
\end{frame}
\section{Two}\label{two}
\subsection{Two-A}\label{two-a}
\begin{frame}{Two-A}
\begin{itemize}
\tightlist
\item
More text.
\end{itemize}
\end{frame}