暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Simon Leblanc abd857aafc Add class into the li markup which contains checkbox 1年前
test Add class into the li markup which contains checkbox 1年前
.gitignore First version of ParsedownCheckbox 1年前
LICENSE First version of ParsedownCheckbox 1年前
ParsedownCheckbox.php Add class into the li markup which contains checkbox 1年前
README.md First version of ParsedownCheckbox 1年前
composer.json First version of ParsedownCheckbox 1年前
composer.lock First version of ParsedownCheckbox 1年前
phpunit.xml.dist First version of ParsedownCheckbox 1年前

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