CommonMark\Parse

(cmark >= 1.0.0)

CommonMark\ParseParsing

Description

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

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top