安装

The CommonMark extension releases are hosted by PECL and source is hosted on » github, the easiest route to installation is the normal PECL route: » https://pecl.php.net/package/cmark.

Windows users can download prebuilt release binaries from the » PECL website.

Caution

Windows users need to take the additional step of adding cmark.dll (distributed with Windows releases) to their PATH.