singular-it/parsedown-checkbox

An extension of Parsedown and ParsedownExtra that adds support for checkbox

Maintainers

Package info

github.com/patrickK97/parsedown-checkbox

Homepage

pkg:composer/singular-it/parsedown-checkbox

Statistics

Installs: 649

Dependents: 0

Suggesters: 0

Stars: 0

0.3.5 2022-07-27 12:38 UTC

This package is auto-updated.

Last update: 2026-03-27 20:59:22 UTC


README

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