Jump to content

Extension talk:SyntaxHighlight GeSHi ParserFunction

Add topic
From mediawiki.org
Latest comment: 14 years ago by MaxSem

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)Reply

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

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