CommonMark\Parse

(cmark >= 1.0.0)

CommonMark\ParseParsing

Descrierea

CommonMark\Parse ( string $content [, int $options ] ) : CommonMark\Node

Shall parse content

Parametri

content

markdown string

options

A mask of:

CommonMark\Parser\Normal (integer)
CommonMark\Parser\Normalize (integer)
CommonMark\Parser\ValidateUTF8 (integer)
CommonMark\Parser\Smart (integer)

Valorile întoarse

Shall return root CommonMark\Node