```
% pandoc --slide-level=2 -t beamer
# section

::: notes
my note
:::

## slide

ok
^D
\section{section}\label{section}

\note{my note}

\begin{frame}{slide}
\protect\phantomsection\label{slide}
ok
\end{frame}
```
