syma.dev/parsedown-checkbox

An extension of Parsedown that adds support for checkbox

0.2.1 2020-08-03 12:08 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:14 UTC


README

An extension of Parsedown that adds support for task list

Installation

composer require syma.dev/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

Pascal Syma pascal@syma.dev

Simon Leblanc contact@leblanc-simon.eu