52b78b10c8
If speaker notes (a Div with class 'notes') occur right after a section heading, but above slide level, the resulting `\note{..}` caommand should not be wrapped in a frame, as that will cause a spurious blank slide. Closes #7857.
234 B
234 B
% pandoc --slide-level=2 -t beamer
# section
::: notes
my note
:::
## slide
ok
^D
\hypertarget{section}{%
\section{section}\label{section}}
\note{my note}
\begin{frame}{slide}
\protect\hypertarget{slide}{}
ok
\end{frame}