I am using the minted package to highlight source code in LaTeX. It works well for a piece of code embedded in \begin{minted} ... \end{minted}. Now the question is if it is possible to highlight a whole file whose path is specified in .tex. Going further, is it possible to let minted to choose an appropriated lexer to use in according to the suffix of a file?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
|||
|
|
|
To quote the manual:
|
|||||||||
|