% ┌                                                ┐
% │                     Minted                     │
% └                                                ┘
\usepackage{minted}
\usepackage{fancyvrb}

\newcommand{\inlinecode}[1]{\shade{gray}{\texttt{#1}}}

\newenvironment{code}[1]{
    \VerbatimEnvironment
    \begin{minted}[
    autogobble,
    breaklines,
    breakindentnchars=2,
    frame=lines,
    framesep=2mm,
    mathescape,
    baselinestretch=1.1,
    linenos]{#1}}
{\end{minted}}
