Lexers for Syntax Highlighting of role(input)¶
Note
Not all supported Lexers are listed. Verify lexer is supported with installed version of Pygments Package http://pygments.org/docs/lexers/
Shells
shell-session– This understands sh/ksh/bash type shellspycon– This understands the Python consoleps1con– This understands the PowerShell console
Scripting
bash– This understands sh/ksh/bash scriptspowershell– This understands PowerShell, as what would be seen in script or modulebat- This understands Windows/Dos Batch Files
Configuration Files
ini,cfg,dosini- Lexer for configuration files in INI style.json- For JSON data structures.yaml- Lexer for YAML, a human-friendly data serialization languagexml- Generic lexer for XML (eXtensible Markup Language).
Programming
python– This understands generic Python modulespython3– This understand the new features in Python3c- For C source code with preprocessor directives.cpp- For C++ source code with preprocessor directives.arduino- This is an extension of the CppLexer, as the Arduino® Language is a superset of C++.go- For Google Go sourcematlab- For Matlab source code.
Misc.
tex,latex- Lexer for the TeX and LaTeX typesetting languages.docker,dockerfile- Lexer for Docker configuration files.guess– Let the lexer guess which language the code block isnone– Do not provide any syntax highlighting