Supported languages
Code Syntax Highlighter supports wide range of programming languages, templates, markups and text formats.
Programming languages
- ActionScript
- Ada
- ANTLR
- AppleScript
- Assembly (various)
- Asymptote
- Augeas
- Awk
- BBC Basic
- Befunge
- Boa
- Boo
- BrainFuck
- C, C++
- C#
- Charm++ CI
- Clojure
- CoffeeScript
- ColdFusion
- Common Lisp
- Coq
- Cryptol (incl. Literate Cryptol)
- Crystal
- Cython
- D
- Dart
- DCPU-16
- Delphi
- Dylan
- Elm
- Erlang
- Ezhil Ezhil - A Tamil programming language
- Factor
- Fancy
- Fennel
- FloScript
- Fortran
- FreeFEM++
- F#
- GAP
- Gherkin (Cucumber)
- GL shaders
- Groovy
- Haskell (incl. Literate Haskell)
- HLSL
- HSpec
- IDL
- Io
- Java
- JavaScript
- Lasso
- LLVM
- Logtalk
- Lua
- Matlab
- MiniD
- Modelica
- Modula-2
- MuPad
- Nemerle
- Nimrod
- Objective-C
- Objective-J
- Octave
- OCaml
- PHP
- Perl 5 and Perl 6
- Pony
- PovRay
- PostScript
- PowerShell
- Prolog
- Python 2.x and 3.x (incl. console sessions and tracebacks)
- REBOL
- Red
- Redcode
- Ruby (incl. irb sessions)
- Rust
- S, S-Plus, R
- Scala
- Scheme
- Scilab
- SGF
- Slash
- Slurm
- Smalltalk
- SNOBOL
- Tcl
- Tera Term language
- TOML
- Vala
- Verilog
- VHDL
- Visual Basic.NET
- Visual FoxPro
- XQuery
- Zephir
Template languages
- Cheetah templates
- Django / Jinja templates
- ERB (Ruby templating)
- Genshi (the Trac template language)
- JSP (Java Server Pages)
- Myghty (the HTML::Mason based framework)
- Mako (the Myghty successor)
- Smarty templates (PHP templating)
- Tea
Other markups & text formats
- Apache config files
- Bash shell scripts
- BBCode
- CMake
- CSS
- Debian control files
- Diff files
- DTD
- Gettext catalogs
- Gnuplot script
- Groff markup
- HTML
- HTTP sessions
- INI-style config files
- IRC logs (irssi style)
- JSON
- Lighttpd config files
- Makefiles
- MoinMoin/Trac Wiki markup
- MySQL
- Nginx config files
- POV-Ray scenes
- Ragel
- Redcode
- ReST
- Robot Framework
- RPM spec files
- SQL, also MySQL, SQLite
- Squid configuration
- TeX
- tcsh
- Vim Script
- Windows batch files
- XML
- XSLT
- YAML
Please note that not all languages are listed in macro dialog. In such case, please use auto-detect feature.
If auto-detect feature does not work for your language, please raise a ticket here: https://github.com/chhantyal/code-syntax-highlighter