Skip to content

An extension of Parsedown and ParsedownExtra that adds support for checkbox

License

Notifications You must be signed in to change notification settings

leblanc-simon/parsedown-checkbox

Repository files navigation

Parsedown Checkbox

An extension of ParsedownExtra and Parsedown that adds support for task list

Installation

composer require leblanc-simon/parsedown-checkbox

Example

<?php

require_once __DIR__.'/vendor/autoload.php';

$parsedown = new ParsedownCheckbox();

echo $parsedown->text('
- [ ] Add a pull request
- [x] Check the issues
');

Prints :

  • Add a pull request
  • Check the issues

License

Author

Simon Leblanc contact@leblanc-simon.eu

About

An extension of Parsedown and ParsedownExtra that adds support for checkbox

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages