helpers\BaseMarkdown process()

process() public static method

Converts markdown into HTML.

public static string process ( $markdown, $flavor = null )
$markdown string

The markdown text to parse

$flavor string

The markdown flavor to use. See $flavors for available values. Defaults to $defaultFlavor, if not set.

return string

The parsed HTML output

throws yii\base\InvalidParamException

when an undefined flavor is given.

doc_Yii
2016-10-30 17:05:28
Comments
Leave a Comment

Please login to continue.