History: PluginMarkdown
Preview of version: 10
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/
History
Information | Version | |||||
---|---|---|---|---|---|---|
lindon | 11 | |||||
Marc Laporte | 10 | |||||
Marc Laporte Make the demo not be broken | 9 | |||||
Marc Laporte | 8 | |||||
Marc Laporte | 7 | |||||
Marc Laporte | 6 | |||||
Bernard Sfez / Tiki Specialist Adding link to the markdown syntax official project page | 5 | |||||
Marc Laporte AutoTOC | 4 | |||||
luciash d' being 🧙 site upgraded; note can be removed | 3 | |||||
luciash d' being 🧙 | 2 | |||||
luciash d' being 🧙 new plugin for Tiki 20 | 1 |