From 67c3b46a49348cc79ff866e5eaf22aca5f2d150f Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 3 Jul 2017 00:00:00 +0200 Subject: [PATCH] Released version 0.8.0. --- ParsedownExtra.php | 4 +-- README.md | 7 +++-- composer.json | 77 +++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 82 insertions(+), 6 deletions(-) diff --git a/ParsedownExtra.php b/ParsedownExtra.php index a3b688c..86af0d2 100644 --- a/ParsedownExtra.php +++ b/ParsedownExtra.php @@ -17,13 +17,13 @@ class ParsedownExtra extends Parsedown { # ~ - const version = '0.7.0'; + const version = '0.8.0'; # ~ function __construct() { - if (version_compare(parent::version, '1.5.0') < 0) + if (version_compare(parent::version, '1.6.0') < 0) { throw new Exception('ParsedownExtra requires a later version of Parsedown'); } diff --git a/README.md b/README.md index cee4b54..8b36253 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,11 @@ Include both `Parsedown.php` and `ParsedownExtra.php` or install [the composer p ### Example -``` php +```php $Extra = new ParsedownExtra(); -echo $Extra->text('# Header {.sth}'); # prints:

Header

+// prints:

Header

+echo $Extra->text('# Header { .my-class-a .my-class-b #my-id data-header=my-data }'); ``` ### Questions @@ -28,4 +29,4 @@ echo $Extra->text('# Header {.sth}'); # prints:

Header

**How can I help?** -Use it, star it, share it and in case you feel generous, [donate some money](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2). +Use it, star it, share it, improve it and in case you feel generous, [donate some money](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2). diff --git a/composer.json b/composer.json index 965d512..0d5f8eb 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,85 @@ "name": "Emanuil Rusev", "email": "hello@erusev.com", "homepage": "http://erusev.com" + }, + { + "name": "Andy Miller", + "email": "rhuk@mac.com", + "role": "Contributor" + }, + { + "name": "David Newton", + "email": "david@davidnewton.ca", + "role": "Contributor" + }, + { + "name": "Robin Adrianse", + "email": "robinadr@gmail.com", + "role": "Contributor" + }, + { + "name": "AcMitch", + "email": "adam.cameron.mitchell@gmail.com", + "role": "Contributor" + }, + { + "name": "Guilherme Capilé", + "email": "capile@tecnodz.com", + "role": "Contributor" + }, + { + "name": "Thijs van Dijk", + "email": "github@inurbanus.nl", + "role": "Contributor" + }, + { + "name": "Mirela Lisboa", + "email": "mirlisboa@gmail.com", + "role": "Contributor" + }, + { + "name": "Trevor Lemon", + "email": "duhlemman@gmail.com", + "role": "Contributor" + }, + { + "name": "Daniel Rudolf", + "email": "github.com@daniel-rudolf.de", + "role": "Contributor" + }, + { + "name": "Kael Shipman", + "email": "kael.shipman@gmail.com", + "role": "Contributor" + }, + { + "name": "Rubén Rubio", + "email": "rrubio@perception.es", + "role": "Contributor" + }, + { + "name": "Jason Robert O'Kennedy", + "email": "CelticParser@users.noreply.github.com", + "role": "Contributor" + }, + { + "name": "Alexey Lutovinin", + "email": "crossrw1@gmail.com", + "role": "Contributor" + }, + { + "name": "Aidan Woods", + "email": "aidantwoods@gmail.com>", + "role": "Contributor" + }, + { + "name": "Daniel Berthereau", + "email": "Daniel.github@Berthereau.net", + "role": "Contributor" } ], "require": { - "php": ">=5.3.6", + "php": ">=5.4.0", "ext-dom": "*", "erusev/parsedown": "^1.6" },