I am looking for a LaTeX package that does syntax highlighting on code. For example, right now I use the verbatim block to write code:
\\begin{verbatim}
You can use the listings package. It supports many different languages and there are lots of options for customising the output.
\documentclass{article} \usepackage{listings} \begin{document} \begin{lstlisting}[language=html] Hello Hello \end{lstlisting} \end{document}