您最多能選擇 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