SyntaxHighlighter uses separate syntax files called brushes to define its highlighting functionality.
| Brush name | Brush aliases | File name |
|---|---|---|
| ActionScript3 | as3, actionscript3 | shBrushAS3.js |
| Bash/shell | bash, shell | shBrushBash.js |
| ColdFusion | cf, coldfusion | shBrushColdFusion.js |
| C# | c-sharp, csharp | shBrushCSharp.js |
| C++ | cpp, c | shBrushCpp.js |
| CSS | css | shBrushCss.js |
| Delphi | delphi, pas, pascal | shBrushDelphi.js |
| Diff | diff, patch | shBrushDiff.js |
| Erlang | erl, erlang | shBrushErlang.js |
| Groovy | groovy | shBrushGroovy.js |
| JavaScript | js, jscript, javascript | shBrushJScript.js |
| Java | java | shBrushJava.js |
| JavaFX | jfx, javafx | shBrushJavaFX.js |
| Perl | perl, pl | shBrushPerl.js |
| PHP | php | shBrushPhp.js |
| Plain Text | plain, text | shBrushPlain.js |
| PowerShell | ps, powershell | shBrushPowerShell.js |
| Python | py, python | shBrushPython.js |
| Ruby | rails, ror, ruby | shBrushRuby.js |
| Scala | scala | shBrushScala.js |
| SQL | sql | shBrushSql.js |
| Visual Basic | vb, vbnet | shBrushVb.js |
| XML | xml, xhtml, xslt, html, xhtml | shBrushXml.js |
Don’t see yours?
If you don’t see a brush for a syntax you are interested in, you have a few options:
- Check out the List of All Known Available Custom Brushes, which includes many brushes that did not (yet) make it to the standard distribution.
- Check this wishlist, and vote for it, in case your brush is already wished for before.
- You can request a brush for your favorite language at the forums or vote for it (by adding a comment) on that same long list.
- You can create a brush yourself, see this handy custom brush guide. Once you do, it’d be nice to hear from it on the forums and/or submit it to the long list for others to use as well.
No comments:
Post a Comment