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

Installation

The recommended installation method is via Composer.

composer require "league/commonmark:^2.1"

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

Versioning

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


Edit this page