You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6bf5917da0 | 7 years ago | |
---|---|---|
test | 7 years ago | |
.gitignore | 7 years ago | |
LICENSE | 7 years ago | |
ParsedownCheckbox.php | 7 years ago | |
README.md | 7 years ago | |
composer.json | 7 years ago | |
composer.lock | 7 years ago | |
phpunit.xml.dist | 7 years ago |
README.md
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