Converts markdown into HTML
public static convert ( string $content, array $config = [], integer $smartyMode = self::SMARTYPANTS_ATTR_LONG_EM_DASH_SHORT_EN ) : string | ||
$content | string | |
$config | array | . Options to configure MarkdownExtra and smarty - markdown: array for MarkdownExtra configuration parameters - smarty: array for SmartyPantsTypographer configuration parameters - custom: array for Custom configuration parameters |
$smartyMode | integer | the SmartyPantsTypographer processing mode |
return | string |