\documentclass{article}
\usepackage{listings}

\begin{document}

    \begin{verbatim}

    code code code code code code code code code code code code code code code code code code

      code code code code code code code code code code code code code code code code code code

    \item \item \item

    \begin{align} E = mc^2 \end{align}

    \end{verbatim}

\begin{lstlisting}[caption={A very long and complicated caption that does not fit into one line}]
  Code
\end{lstlisting}

% Here is a special user-defined verbatim environment

\begin{myverbatim}
    code code code code code code code code code code code code code code code code code code
\end{myverbatim}

\end{document}
