'; } ?> Markdown help

Headings

#Heading 1
##Heading 2
###Heading 3
####Heading 4
#####Heading 5
######Heading 6

Result
text("#Heading 1 \n##Heading 2 \n###Heading 3 \n####Heading 4 \n#####Heading 5 \n######Heading 6 \n "); ?>

Phrase Emphasis

*italic* **bold** ~~strike~~

Result
text('*italic* **bold** ~~strike~~'); ?>

Links

[Shaarli original homepage](http://sebsauvage.net/wiki/doku.php?id=php:shaarli "php:shaarli [sebsauvage]")
or simply put link http://sebsauvage.net/wiki/doku.php?id=php:shaarli

Result
text('[Shaarli original homepage](http://sebsauvage.net/wiki/doku.php?id=php:shaarli "php:shaarli [sebsauvage]") or simply put link http://sebsauvage.net/wiki/doku.php?id=php:shaarli'); ?>

Lists

Ordered list :
1. item
2. item
  1. item
  2. item
3. item

Result
text(" 1. item \n 2. item \n 1. item \n 2. item \n 3. item"); ?>

Unordered list :
* item
* item
  * item
  * item

Result
text("* item \n* item \n * item \n * item"); ?>

Images

![Shaarli logo](/images/logo.png "Shaarli logo")

Result
text('![Shaarli logo](/images/logo.png "Shaarli logo")'); ?>

Blockquotes

>You want to share the links you discover ? Shaarli is a minimalist delicious clone you can install on your own website. It is designed to be personal (single-user), fast and handy.
>> Citation under citation

Result
text(">You want to share the links you discover ? Shaarli is a minimalist delicious clone you can install on your own website. It is designed to be personal (single-user), fast and handy. \n >> Citation under citation"); ?>

Inline code

Try this command ``uptime`` in Linux terminal

Result
text('Try this command ``uptime`` in Linux terminal'); ?>

Block code

Try this command
```
uptime
```
in Linux terminal

Result
text("Try this command \n ``` \n uptime \n ``` \n in Linux terminal"); ?>

Horizontal Rules

* * * or
*** or
***** or
- - - or
---------------------------------------
Result
text('* * *'); ?>

Manual Line Breaks

Add two space at endline
This line break =>
here

Result
setMarkupEscaped(true) -> setBreaksEnabled(true) -> text("This line break =>    here"); ?>