Extension:WikiMarkdown

The WikiMarkdown extension allows for markdown syntax to be used on wiki pages using the tag. It is powered by the Parsedown library.

Usage
Once installed, you can use tags on wiki pages. For example,

{| class="wikitable"

Emphasis
This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough
 * }

is the result of the following wikitext markup:

Markdown content handler
The extension adds a content handler for markdown pages, which can be edited using a markdown editor when CodeEditor is installed.

Markdown error category
The extension adds pages that encountered errors during markdown parsing to a tracking category.

inline
The attribute indicates that the markdown should be inline as part of a paragraph (as opposed to being its own block).

Install Dependencies
Make sure your OS has. Installation guide

Add the line  to the "composer.local.json" file in the root directory of your wiki, e.g.

Then run  in the root directory of your wiki. This will install any dependencies (i.e. the Parsedown, Parsedown Extra, and Parsedown Extended libraries).

Install the extension

 * Download extension from github and unpack it into 'extensions' folder.

Configuration

 * To enable Parsedown Extra support, set (default is "false")
 * To enable Parsedown Extra support, set (default is "false")


 * To enable Parsedown Extended support, set (default is "false")
 * To enable Parsedown Extended support, set (default is "false")


 * Optionally change which parameters are used with Parsedown Extended. Look at the documentation for what options you can turn on or off.  This defaults to:
 * Optionally change which parameters are used with Parsedown Extended. Look at the documentation for what options you can turn on or off.  This defaults to:

SyntaxHighlight integration
When SyntaxHighlight is installed, the extension will automatically apply its highlighting to markdown code blocks. The code blocks will render the same as the SyntaxHighlight code blocks and will support all the same languages.

Math integration
When Math is installed and Parsedown Extended with the  option is available, the extension will automatically use the Math extension to render mathematical equations.

VisualEditor integration
The extension enables direct editing with VisualEditor. A popup is opened when a user wants to edit sections. For this to work, VisualEditor must be installed and configured from the latest Git version, same for Parsoid.