diff --git a/build/index.php b/build/index.php index f10c937..ba6ccfb 100644 --- a/build/index.php +++ b/build/index.php @@ -3706,6 +3706,8 @@ register_module([ "description" => "An upgraded parser based on Emanuil Rusev's Parsedown Extra PHP library (https://github.com/erusev/parsedown-extra), which is licensed MIT. Please be careful, as this module adds a some weight to your installation, and also requires write access to the disk on first load.", "id" => "parser-parsedown", "code" => function() { + global $settings; + $parser = new PeppermintParsedown(); $parser->setInternalLinkBase("?page=%s"); add_parser("parsedown", function($source) use ($parser) { @@ -3713,6 +3715,17 @@ register_module([ return $result; }); + + add_help_section("20-parser-default", "Editor Syntax", + "
$settings->sitename's editor uses an extended version of Parsedown to render pages, which is a fantastic open source Github flavoured markdown parser. You can find a quick reference guide on Github flavoured markdown here by adam-p, or if you prefer a book Mastering Markdown by KB is a good read, and free too!
+$settings->sitename's editor also supports some extra custom syntax, some of which is inspired by Mediawiki. +
Type this | To get this | Comments | +
---|---|---|
[[Internal link]] | Internal Link | An internal link. |
[[Display Text|Internal link]] | Display Text | An internal link with some display text. |
![Alt text](http://example.com/path/to/image.png | 256x256 | right) | An image floating to the right of the page that fits inside a 256px x 256px box, preserving aspect ratio. |
$settings->sitename's editor uses an extended version of Parsedown to render pages, which is a fantastic open source Github flavoured markdown parser. You can find a quick reference guide on Github flavoured markdown here by adam-p, or if you prefer a book Mastering Markdown by KB is a good read, and free too!
+$settings->sitename's editor also supports some extra custom syntax, some of which is inspired by Mediawiki. +
Type this | To get this | Comments | +
---|---|---|
[[Internal link]] | Internal Link | An internal link. |
[[Display Text|Internal link]] | Display Text | An internal link with some display text. |
![Alt text](http://example.com/path/to/image.png | 256x256 | right) | An image floating to the right of the page that fits inside a 256px x 256px box, preserving aspect ratio. |