httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: Syntax Highlighting
Date Tue, 24 Apr 2012 13:20:49 GMT

>> 
> 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>


So, it doesn't currently support httpd syntax, but could be persuaded to probably. Looking
at the code ...

--
Rich Bowen
rbowen@rcbowen.com :: @rbowen
rbowen@apache.org







Mime
View raw message