It seems that the following code does not work as expected (ie. printing the \end{frame}
as a verbatim colored code.
Instead, the \end{frame}
is interpreted by LaTeX:
\documentclass[10pt,a4paper]{beamer}
\usepackage{minted}
\begin{document}
\begin{frame}[fragile]{Test}
\begin{minted}{latex}
\begin{frame}{Title exemple}
This is an exemple.
\end{frame}
\end{minted}
This is never shown !
\end{frame}
\end{document}
There is a bunch of errors at compilation time :
Runaway argument?
! File ended while scanning use of \FancyVerbGetLine.
<inserted text>
\par
l.9 \end{frame}
What should be done for this sample to compile nicely ?
{}
) or hit Ctrl+K.