355
edits
Line 267: | Line 267: | ||
Right now only CSS, JavaScript and HTML syntax highlighting is supported. This will be improved in the near future. | Right now only CSS, JavaScript and HTML syntax highlighting is supported. This will be improved in the near future. | ||
The syntax highlighter keys in on the file prefix (e.g. .html will cause HTML highlighting). | |||
If you need to manually force a particular highlighter you can run the set command and pass in the particular language: | |||
set language html | |||
If you want to add a new syntax highlighter you can do so by loading highlighter code and registering it: | |||
// load the file first (e.g. dojo.require("....")) | |||
bespin.syntax.simple.Resolver.register("Arduino", ['pde']); | |||
=Command Line= | =Command Line= |
edits