parsedown-checkbox
parsedown-checkbox copied to clipboard
An extension of Parsedown and ParsedownExtra that adds support for checkbox
trafficstars
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
- [x] Check the issues
License
Author
Simon Leblanc [email protected]