Syntax Highlighting With Minted
To use Minted, set the option ‘syntax_highlighter’ to ‘minted’. Also make sure that you have the ‘minted’ LaTeX package installed!
The Minted syntax highlighter supports the following keys of the option ‘syntax_highlighter_opts’:
- The default language that should be used when no language is set.
- Add line numbers
- Break long lines (needs at least version 2.0 of the ‘minted’ LaTeX package)