leblanc-simon / parsedown-checkbox
An extension of Parsedown and ParsedownExtra that adds support for checkbox
Installs: 1 271
Dependents: 1
Suggesters: 0
Security: 0
Stars: 18
Watchers: 2
Forks: 8
Open Issues: 0
Requires
- erusev/parsedown: ^1.8.0-beta
- erusev/parsedown-extra: ^0.8.0-beta-1
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-12-11 15:38:58 UTC
README
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