Search by

leblanc-simon / parsedown-checkbox

leblanc-simon

An extension of Parsedown and ParsedownExtra that adds support for checkbox

Package info

github.com/leblanc-simon/parsedown-checkbox

pkg:composer/leblanc-simon/parsedown-checkbox

Statistics

Installs: 1 608

Dependents: 0

Suggesters: 0

Stars: 18

Open Issues: 0

0.2.0 2019-05-30 10:47 UTC

This package is auto-updated.

Last update: 2026-09-11 19:35:40 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