我想在 minted 环境中删除一些行,例如
\documentclass[usenames,xcolor=dvipsnames]{beamer}
\usetheme{CambridgeUS}
\usecolortheme{beaver}
\usepackage[utf8]{inputenc}
\usepackage{minted}
\begin{document}
\begin{frame}[fragile]
\begin{minted}[linenos, numbersep=3pt]{python}
# This program prints Hello, world!
print('Hello, world!')
\end{minted}
\end{frame}
\end{document}