Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Simon Leblanc abd857aafc Add class into the li markup which contains checkbox 7 lat temu
test Add class into the li markup which contains checkbox 7 lat temu
.gitignore First version of ParsedownCheckbox 7 lat temu
LICENSE First version of ParsedownCheckbox 7 lat temu
ParsedownCheckbox.php Add class into the li markup which contains checkbox 7 lat temu
README.md First version of ParsedownCheckbox 7 lat temu
composer.json First version of ParsedownCheckbox 7 lat temu
composer.lock First version of ParsedownCheckbox 7 lat temu
phpunit.xml.dist First version of ParsedownCheckbox 7 lat temu

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