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