httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: Syntax Highlighting
Date Tue, 24 Apr 2012 13:20:29 GMT


----- Original Message -----
> 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
> >> rbowen@rcbowen.com :: @rbowen
> >> rbowen@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>

Cool. Should be easy enough to create our own then.

> With regards,
> Daniel.

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message