Download the PHP package moxio/commonmark-ext-fancy-lists without Composer

On this page you can find all versions of the php package moxio/commonmark-ext-fancy-lists. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package commonmark-ext-fancy-lists

CI Latest Stable Version Buy us a tree

moxio/commonmark-ext-fancy-lists

Extension for the league/commonmark Markdown parser to support additional numbering types for ordered lists.

Uses unofficial markdown syntax based on the syntax supported by Pandoc. See the section Syntax below for details.

The parser is a modified version of the original ListBlockStartParser and related classes from league/commonmark by Colin O'Dell, which is licensed under the BSD-3-Clause License. It is in turn based on the CommonMark JS reference implementation by John MacFarlane.

Requirements

This library requires PHP version 7.4 or higher and a 2.x release of league/commonmark.

Installation

Install as a dependency using composer:

Usage

Add FancyListsExtension as an extension to your CommonMark environment instance and you're good to go:

See the CommonMark documentation for more information about using extensions.

Syntax

The supported markdown syntax is based on the one used by Pandoc.

A simple example:

The will yield HTML output like:

A more complex example:

A short description of the syntactical rules:

All of the above are entirely compatible with how Pandoc works. There are two small differences with Pandoc's syntax:

Configuration

All configuration options are put under a fancy_lists key. You can specify the configuration when creating your Environment class:

See the league/commonmark documentation about configuration for more details on how to specify configuration.

Supported configuration options:

Versioning

This project adheres to Semantic Versioning.

Contributing

Contributions to this project are more than welcome. When reporting an issue, please include the input to reproduce the issue, along with the expected output. When submitting a PR, please include tests with your changes.

License

This project is released under the MIT license.

Treeware

This package is Treeware. If you use it in production, then we'd appreciate it if you buy the world a tree to thank us for our work. By contributing to the Treeware forest you'll be creating employment for local families and restoring wildlife habitats.


Made with love, coffee and fun by the Moxio team from Delft, The Netherlands. Interested in joining our awesome team? Check out our vacancies (in Dutch).


All versions of commonmark-ext-fancy-lists with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-ctype Version *
ext-mbstring Version *
league/commonmark Version ^2.0
league/config Version ^1.1.1
nette/schema Version ^1.2
wandersonwhcr/romans Version ^1.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package moxio/commonmark-ext-fancy-lists contains the following files

Loading the files please wait ....