Plugin Markdown
Introduced in Tiki20
Use this wiki plugin to parse a page content using Markdown syntax.
CommonMark flavor of Markdown was used for the implementation. See https://commonmark.thephpleague.com/
Coming to Tiki25 and much improved in Tiki26: Tiki-Flavored Markdown
Parameters
Parse the body of the plugin using a Markdown parser.Introduced in Tiki 20.
Go to the source code
Preferences required: wikiplugin_markdown
Parameters |
---|
(body of plugin) - Markdown syntax to be parsed |
no parameters |
Examples
Example 1
This code:
Copy to clipboard
{MARKDOWN()} # This is an h1 tag ## This is an h2 tag ###### This is an h6 tag *This text will be italic* (hard line break after this because of two spaces -->) _This will also be italic_ **This text will be bold** (there's alternative syntax for line break after this parenthesis)\ __This will also be bold__ _You **can** combine them_ {MARKDOWN}
Would produce on this site:
This is an h1 tag
This is an h2 tag
This is an h6 tag
This text will be italic (hard line break after this because of two spaces -->)
This will also be italic
This text will be bold (there's alternative syntax for line break after this parenthesis)
This will also be bold
You can combine them
Related pages
- https://dev.tiki.org/Markdown
- Markdown syntax (original project page but we don't use this syntax because it's ambiguous)
- https://blog.codinghorror.com/standard-markdown-is-now-common-markdown/