httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: Syntax Highlighting
Date Tue, 24 Apr 2012 13:30:34 GMT
> 1) Modify common.dtd to allow classes inside <pre> 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 syntax:
>
> <pre class="sh_c">
> code_goes_here(foo);
> </pre>

I'd prefer a different element on xml side. Like <highlight language="perl"> 
or <syntax>.
Otherwise I like the javascript solution.

nd

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


Mime
View raw message