CommonMark\Parse

Parsing

Description

CommonMark\Node CommonMark\Parse(string $content, int $options = ?)

Shall parse content

Parameters

content

markdown string

options

A mask of:

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

Return Values

Shall return root CommonMark\Node