PHP - Manual: CommonMark\Parse
2024-11-13
(cmark >= 1.0.0)
CommonMark\Parse — Parsing
content
markdown string
options
A mask of:
CommonMark\Parser\Normal
(int)
CommonMark\Parser\Normalize
(int)
CommonMark\Parser\ValidateUTF8
(int)
CommonMark\Parser\Smart
(int)
Shall return root CommonMark\Node
官方地址:https://www.php.net/manual/en/function.commonmark-parse.php