From 66bca029c75e5d29ce10d929f621a82d521bc37c Mon Sep 17 00:00:00 2001 From: John MacFarlane <jgm@berkeley.edu> Date: Sun, 5 Jan 2020 11:10:07 -0800 Subject: Fix regression in beamer slide structure with certain slide levels. Closes #6030. --- test/command/6030.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'test/command') diff --git a/test/command/6030.md b/test/command/6030.md index 943150432..44a934a6a 100644 --- a/test/command/6030.md +++ b/test/command/6030.md @@ -33,3 +33,46 @@ Four </section> </section> ``` + +``` +% pandoc -t beamer --slide-level=3 +# One + +One + +## Two + +Two + +### Three + +Three + +#### Four + +Four +^D +\hypertarget{one}{% +\section{One}\label{one}} + +\begin{frame}{One} +One +\end{frame} + +\hypertarget{two}{% +\subsection{Two}\label{two}} + +\begin{frame}{Two} +Two +\end{frame} + +\begin{frame}{Three} +\protect\hypertarget{three}{} +Three + +\begin{block}{Four} +\protect\hypertarget{four}{} +Four +\end{block} +\end{frame} +``` -- cgit v1.2.3