Extension talk:SyntaxHighlight GeSHi ParserFunction

From MediaWiki.org
Jump to navigation Jump to search

Note that you can use {{#tag:}} with Extension:SyntaxHighlight GeSHi, e.g. {{#tag:source|<?php echo "Hello World";|lang=php}} which would render

<?php echo "Hello World";

iAlex 12:41, 5 January 2010 (UTC)

And wouldn't it make sense to add that tiny bit to the original extension? Max Semenik 16:01, 5 January 2010 (UTC)

I didn't know this way of calling tag extensions, I just checked here and it worked ok.
Searching a bit on MediaWiki manual, I found this page that really says that way of calling tag extensions as parser functions. That makes this extension desnecessary, I'll try to remove it, thanks. --Mgbf