Loading...
 
Skip to main content

History: PluginMarkdown

Source of version: 7

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/

!! 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/
        

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