An extension of ParsedownExtra and Parsedown that adds support for task list
composer require leblanc-simon/parsedown-checkbox
<?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
Simon Leblanc contact@leblanc-simon.eu