Snippets are tiny notes I've collected for easy reference.
Short list of language names recognized by pygments.
pygments
language identifiers I use or have had to look up at one time or another.
- Antlr-Ruby -
antlr-ruby
/antlr-rb
- awk -
awk
/gawk
/mawk
/nawk
- Bash -
bash
/sh
/ksh
for shell scripts,console
for interactive session captures - Clojure -
clj
/closure
- CoffeeScript -
coffee-script
/coffeescript
- CSS -
css
- diff output -
diff
/udiff
- Haml/Sass/Scss -
haml
,sass
,scss
- HTML -
html
- HTTP transcripts -
http
- JavaScript -
js
/javascript
- JSON -
json
- Lisp -
cl
/common-lisp
- make -
make
/makefile
/mf
,cmake
,basemake
,bsdmake
- nginx configuration files -
ngnix
- Postscript -
postscript
- Ruby -
ruby
for .rb files,irb
for interactive console captures - Scheme -
scm
/scheme
- SQL -
sql
,mysql
,psql
,postgresql-console
/postgres-console
,sqlite3
- TeX/LaTeX -
tex
,latex
- Text -
text
(the no-op highlighter) - XML/XSLT/XQuery -
xml
,xslt
,xquery
- Yaml -
yaml
Also see the list of languages supported by Pygments and the list of lexers included with Pygments.
Snippets are tiny notes I've collected for easy reference.