Extension:MarkdownSyntax

MarkdownSyntax is a MediaWiki extension that enables markdown syntax.

Work In Progress
This extension hasn't been written yet. This page will serve as a placeholder for information and planning about the writing of the MarkdownSyntax extension until it is actually written.


 * Ian Smith suggested using UsenetSyntax as a model. But I tried installing it and couldn't get it to work with my install of mediawiki 1.10.0.


 * 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.

Installation

 * 1) Create a folder in your extensions directory called MarkdownSyntax.
 * So you have something like this: $IP/extensions/MarkdownSyntax/
 * Note: $IP is your MediaWiki install dir.
 * 1) 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 into $IP/extensions/MarkdownSyntax/
 * 2) Download (yet to be written script) MarkdownSyntax.php and drop it into $IP/extensions/MarkdownSyntax/</tt> also.
 * 3) Enable the extension by adding this line to your LocalSettings.php</tt>: require_once( "$IP/extensions/MarkdownSyntax.php" );