pandoc/test/command/7857.md
John MacFarlane 52b78b10c8 Avoid putting a frame around speaker notes in beamer.
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.
2022-01-20 19:09:44 -08:00

22 lines
234 B
Markdown

```
% 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}
```