uafrica/commonmark-ext

This package is abandoned and no longer maintained. The author suggests using the league/commonmark-ext-strikethrough package instead.

Extended parsers and renderers for The PHP League CommonMark parser

Installs: 39 154

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 13

Forks: 1

Open Issues: 1

Type:commonmark-extension

v0.3.0 2019-01-07 14:45 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:49:53 UTC


README

Latest Version Software License

uafrica/commonmark-ext is a collection of custom parsers and renderers for the league-commonmark Markdown parsing engine, which itself is based on the CommonMark spec.

Current Custom Parsers and Renderers

  • Strikethrough: Parser and Renderer. Allows users to use ~~ in order to indicate text that should be rendered within <del> tags. To use it, add it to your environment object with $env->addExtension(new \CommonMarkExt\Strikethrough\StrikethroughExtension()).

Installation

This project can be installed via [Composer]:

$ composer require uafrica/commonmark-ext
...

Testing

$ ./vendor/bin/phpunit
...

License

uafrica/commonmark-ext is licensed under the MIT. See the LICENSE file for more details.