|
|
@ -16,13 +16,13 @@ use Michelf\MarkdownExtra; |
|
|
|
* Basic usage is the following: |
|
|
|
* Basic usage is the following: |
|
|
|
* |
|
|
|
* |
|
|
|
* ```php |
|
|
|
* ```php |
|
|
|
* $my_html = Markdown::process($my_text); |
|
|
|
* $myHtml = Markdown::process($myText); |
|
|
|
* ``` |
|
|
|
* ``` |
|
|
|
* |
|
|
|
* |
|
|
|
* If you want to configure the parser: |
|
|
|
* If you want to configure the parser: |
|
|
|
* |
|
|
|
* |
|
|
|
* ```php |
|
|
|
* ```php |
|
|
|
* $my_html = Markdown::process($my_text, array( |
|
|
|
* $myHtml = Markdown::process($myText, array( |
|
|
|
* 'fn_id_prefix' => 'footnote_', |
|
|
|
* 'fn_id_prefix' => 'footnote_', |
|
|
|
* )); |
|
|
|
* )); |
|
|
|
* ``` |
|
|
|
* ``` |
|
|
|