您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
abd857aafc | 7 年前 | |
---|---|---|
test | 7 年前 | |
.gitignore | 7 年前 | |
LICENSE | 7 年前 | |
ParsedownCheckbox.php | 7 年前 | |
README.md | 7 年前 | |
composer.json | 7 年前 | |
composer.lock | 7 年前 | |
phpunit.xml.dist | 7 年前 |
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