Markdown Extender
PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Strikethrough
tests
.gitignore
.stickler.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

uafrica/commonmark-ext

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.