Email This Post
|
Print This Post
Following Jim Wilson’s comment I have revisted this subject and now offer my own extension which adds Textile2 to the AlternateSyntaxParser without the need for hacking Jim’s original extension.
You can download the extension here.
Instructions are included in the source, but for convenience, they are repeated here…
Installation:
AlternateSyntaxParserTextile2.php) into $IP/extensions/AlternateSyntaxParserLocalSettings.php:require_once('extensions/AlternateSyntaxParser/MarkdownSyntax.php');
after the line enabling the AlternateSyntaxParser
classTextile.php from the downloaded archive.classTextile.php into $IP/extensions/AlternateSyntaxParser/Usage:
To use Textile2 in a page, put #MARKUP textile2 at the top of the page:
Alternatively, you may specify a site-wide default alternate language by setting the $wgAlternateSyntaxParserLanguage variable in your LocalSettings.php.
RSS feed for comments on this post · TrackBack URI
Leave a reply