On 24-04-2012 14:31, Igor Galić wrote: > >> What other languages are available for syntax coloring? Trying to >> remember what other examples we might have in the docs. Perl, I >> expect. > > httpd.conf syntax hilighting would be a good thing to have. > >> -- >> Rich Bowen >> rbo...@rcbowen.com :: @rbowen >> rbo...@apache.org > > i > The specific highlighter I chose (mainly because it is quite lightweight compared to some other solutions) is SHJS, which also supports well, any language you may want to highlight. For a specific list, you can view it at http://shjs.sourceforge.net/ - adding a new language is as simple as including one of the language files in our documents ( http://shjs.sourceforge.net/lang/ ) and, for example to highlight Perl scripts, use: <pre class="sh_perl"> print($foo, $bar); </pre>
With regards, Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org For additional commands, e-mail: docs-h...@httpd.apache.org