Loading...
 
Skip to main content

History: PluginMarkdown

Source of version: 11 (current)

Copy to clipboard
            ! 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
{pluginmanager plugin="markdown"}
!! Examples
!!! Example 1
''This code:''
{CODE(colors="markdown" theme="default" ln="1")}{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}{CODE}

''Would produce on this site:''
{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}

!! Related pages
* https://dev.tiki.org/Markdown
* [https://daringfireball.net/projects/markdown/syntax|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/