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