From 52e25a16a755777c426f98b864ecaf2e93124611 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 23 May 2020 22:37:42 +0100 Subject: [PATCH] parser: update help text --- modules/parser-parsedown.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/parser-parsedown.php b/modules/parser-parsedown.php index d142db7..322a996 100644 --- a/modules/parser-parsedown.php +++ b/modules/parser-parsedown.php @@ -387,10 +387,11 @@ register_module([ ![Alt text](http://example.com/path/to/image.png | 256x256 | caption)
Alt text
Alt text
An image with a caption that fits inside a 256px x 256px box, preserving aspect ratio. The presence of the word caption in the regular braces causes the alt text to be taken and displayed below the image itself. ![Alt text](Files/Cheese.png)Alt textAn example of the short url syntax for images. Simply enter the page name of an image (or video / audio file), and Pepperminty Wiki will sort out the url for you. Some text ==marked text== more textSome text marked text more textMarked / highlighted text - [ ] Unticked checkboxAn unticked checkbox. Must be at the beginning of a line or directly after a list item (e.g. - or 1. ). - [x] Ticked checkboxAn ticked checkbox. The same rules as unticked checkboxes apply here too. - some text >!spoiler text!< more textA spoiler. Users much click it to reveal the content hidden beneath. - some text ||spoiler text|| more textAlternative spoiler syntax inspired by Discord. + [ ] Unticked checkbox Unticked checkboxAn unticked checkbox. Must be at the beginning of a line or directly after a list item (e.g. - or 1. ). + [x] Ticked checkbox Ticked checkboxAn ticked checkbox. The same rules as unticked checkboxes apply here too. + some text >!spoiler text!< more textsome text spoiler text more textA spoiler. Users much click it to reveal the content hidden beneath. + some text ||spoiler text|| more textsome text spoiler text more textAlternative spoiler syntax inspired by Discord. + [__TOC__]An automatic table of contents. Note that this must be on a line by itself with no text before or after it on that line for it to work.

Note that the all image image syntax above can be mixed and matched to your liking. The caption option in particular must come last or next to last.

Templating