```
% pandoc -t revealjs --slide-level=3
# One
One
## Two
Two
### Three
Three
#### Four
Four
# New sec
New sec
## New sub
New sub
^D
```
```
% 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}
```