dolibarr
x.y.z
|
This file contains functions dedicated to MD parsind. More...
Go to the source code of this file.
Functions | |
dolMd2Html ($content, $parser='parsedown', $replaceimagepath=null) | |
Function to parse MD content into HTML. More... | |
dolMd2Asciidoc ($content, $parser='dolibarr', $replaceimagepath=null) | |
Function to parse MD content into ASCIIDOC. More... | |
This file contains functions dedicated to MD parsind.
Definition in file parsemd.lib.php.
dolMd2Asciidoc | ( | $content, | |
$parser = 'dolibarr' , |
|||
$replaceimagepath = null |
|||
) |
Function to parse MD content into ASCIIDOC.
string | $content | MD content |
string | $parser | 'dolibarr' |
string | $replaceimagepath | Replace path to image with another path. Exemple: ('doc/'=>'xxx/aaa/') |
Definition at line 61 of file parsemd.lib.php.
dolMd2Html | ( | $content, | |
$parser = 'parsedown' , |
|||
$replaceimagepath = null |
|||
) |
Function to parse MD content into HTML.
string | $content | MD content |
string | $parser | 'parsedown' or 'nl2br' |
string | $replaceimagepath | Replace path to image with another path. Exemple: ('doc/'=>'xxx/aaa/') |
Definition at line 32 of file parsemd.lib.php.