cobra -highlight <files>
Posted: Wed Mar 18, 2009 9:48 pm
The Cobra command line has a new -highlight option that will take the source files you give and emit them into gen-html\foo.cobra.html as syntax highlighted files. Here is an example.
The stylesheet is styles-cobra-shl.css (shl=syntax highlighting) in Cobra's Source\ directory.
See SyntaxHighlighter.cobra in the source if you are interested in the implementation or the remaining TODO list in the file's doc string.
Note that there is also a Pygments highlighter which will always be important because several 3rd party tools use Pygments.
The stylesheet is styles-cobra-shl.css (shl=syntax highlighting) in Cobra's Source\ directory.
See SyntaxHighlighter.cobra in the source if you are interested in the implementation or the remaining TODO list in the file's doc string.
Note that there is also a Pygments highlighter which will always be important because several 3rd party tools use Pygments.