GoLang CommonMark\Parse

request it (337)
GoLang replacement for PHP's CommonMark\Parse [edit | history]



Do you know a GoLang replacement for PHP's CommonMark\Parse? Write it!

PHP CommonMark\Parse

PHP original manual for CommonMark\Parse [ show | php.net ]

CommonMark\Parse

(cmark >= 1.0.0)

CommonMark\ParseParsing

Description

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

Shall parse content

Parameters

content

markdown string

options

A mask of:

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

Return Values

Shall return root CommonMark\Node