Re: Syntax Highlighting

2012-04-24 Thread André Malo
* Daniel Gruno wrote: > After hearing some concerns expressed over whether we could include a > GPL3 licensed script in our documentation, I have looked for alternate > solutions, and found a syntax highlighter that it Apache 2.0 licensed. Oh, well. > This requires a small change to the common.x

DO NOT REPLY [Bug 53132] Update common.dtd to handle class tags in elements

2012-04-24 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53132 Daniel Gruno changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: Syntax Highlighting

2012-04-24 Thread André Malo
> 1) Modify common.dtd to allow classes inside tags > 2) Modify common.xsl to include the style sheet and scripts used for > highlighting the source code examples in our documentation. > > To create syntax highlighted source code examples, the only requirement > would be that you use the following

Re: Syntax Highlighting

2012-04-24 Thread Rich Bowen
On Apr 24, 2012, at 9:20 AM, Igor Galić wrote: > Cool. Should be easy enough to create our own then. Yep. Syntax looks pretty simple. Just a bunch of regexes mapped to styles. Should be fairly easy to create a httpd.conf mapping. -- Rich Bowen rbo...@rcbowen.com :: @rbowen rbo...@apache.org

Re: Syntax Highlighting

2012-04-24 Thread Rich Bowen
>> > 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 simpl

Re: Syntax Highlighting

2012-04-24 Thread Igor Galić
- 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. >

Re: Syntax Highlighting

2012-04-24 Thread Daniel Gruno
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

Re: Syntax Highlighting

2012-04-24 Thread Igor Galić
> 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 -- Igor Galić Tel

Re: Syntax Highlighting

2012-04-24 Thread Rich Bowen
On Apr 24, 2012, at 7:31 AM, Daniel Gruno wrote: > After some fruitful discussions on IRC yesterday, I have tried out > various ways of making syntax highlighting available for our > documentation, and I've come across a method of doing so using > JavaScript. The results seem to be very good, and

Re: Syntax Highlighting

2012-04-24 Thread Daniel Gruno
On 20-04-2012 14:49, Igor Galić wrote: > > Hey folks, > > for all those who haven't seen them yet, Daniel has started > working on developer documentation: > > http://httpd.apache.org/docs/trunk/developer/modguide.html > > this also contains syntax highlighting. > I'm a sucker for syntax high