Hi there,
I am creating my own mediawiki site - basically to display a bunch XML and XSL docs. I am wondering how the examples on the wikipedia XSLT page are so well formatted. What extensions are necessary to get that type of coloring, etc.
Here is the URL with the samples: http://en.wikipedia.org/wiki/XSL_Transformations#Examples
Cheers,
Noah
On 11/08/07, Noah admin2@enabled.com wrote:
I am creating my own mediawiki site - basically to display a bunch XML and XSL docs. I am wondering how the examples on the wikipedia XSLT page are so well formatted. What extensions are necessary to get that type of coloring, etc.
Those are using the SyntaxHighlight_GeSHi extension (http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi), which introduces <source></source> tags to help format bits of code and markup.
The extension is a wrapper around the GeSHi library (http://qbnz.com/highlighter).
Rob Church
Rob Church wrote:
On 11/08/07, Noah admin2@enabled.com wrote:
I am creating my own mediawiki site - basically to display a bunch XML and XSL docs. I am wondering how the examples on the wikipedia XSLT page are so well formatted. What extensions are necessary to get that type of coloring, etc.
Those are using the SyntaxHighlight_GeSHi extension (http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi), which introduces <source></source> tags to help format bits of code and markup.
The extension is a wrapper around the GeSHi library (http://qbnz.com/highlighter).
thanks Rob
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org