LonghornPHP 2026

CommonMark\Parse

(cmark >= 1.0.0)

CommonMark\ParseAnalyse

Description

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

Analyse content

Liste de paramètres

content

Une chaîne de caractères markdown

options

Un masque de:

CommonMark\Parser\Normal (int)

CommonMark\Parser\Normalize (int)

CommonMark\Parser\ValidateUTF8 (int)

CommonMark\Parser\Smart (int)

Valeurs de retour

Retourne le nœud racine CommonMark\Node

add a note

User Contributed Notes

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