This is the documentation for version 1.6. Please consider upgrading your code to the latest stable version


The recommended installation method is via Composer.

In your project root just run:

composer require league/commonmark:^1.6

Ensure that you’ve set up your project to autoload Composer-installed packages.


SemVer will be followed closely. It’s highly recommended that you use Composer’s caret operator to ensure compatibility; for example: ^1.6. This is equivalent to >=1.6 <2.0.

Edit this page