Extension:MarkdownSyntax

MarkdownSyntax is a MediaWiki extension that enables markdown syntax.

Installation

 * 1) Create a folder in your $IP/extensions directory called MarkdownSyntax.
 * Note: $IP is your MediaWiki install dir.
 * You have something like this: $IP/extensions/MarkdownSyntax/
 * 1) Download ExtendedSyntaxParser, be sure to rename the downloaded file to ExtendedSyntaxParser.php.
 * 2) Drop ExtendedSyntaxParser.php into $IP/extensions/MarkdownSyntax/
 * 3) Download Michel Fortin's PHP Markdown, unzip and look for the file markdown.php.
 * Note: Don't download PHP Markdown Extra. Only PHP Markdown is supported. PHP Markdown Extra may be supported in a future release
 * 1) Drop markdown.php</tt> into $IP/extensions/MarkdownSyntax/</tt>
 * 2) Download MarkdownSyntax.php</tt> and drop it into $IP/extensions/MarkdownSyntax/</tt> also.
 * 3) Enable the extension by adding these two lines to your LocalSettings.php</tt>: require_once( "{$IP}/extensions/MarkdownSyntax/ExtendedSyntaxParser.php" );  require_once( "{$IP}/extensions/MarkdownSyntax/MarkdownSyntax.php" );

Developer notes

 * Ian Smith suggested using UsenetSyntax as a model. This is the path I took. It requires the ExtendedSyntaxParser.


 * It says here that the InternalParseBeforeLinks hook should be... "Used to process the expanded wiki code after &lt;nowiki>, HTML-comments, and templates have been treated. Suitable for syntax extensions that want to support templates and comments." That sounds like what we need, but I'm going to ignore that for now and try the UsenetSyntax model using ExtendedSyntaxParser approach.

MarkdownSyntax.php
<?php // ?>