1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
Commit Graph

495 Commits

Author SHA1 Message Date
Daniel Rudolf
be671e72a3
Don't let Travis skip Parsedown's phpunit tests 2016-10-09 14:21:17 +02:00
Daniel Rudolf
f0587d41a9
Add test/CommonMarkTestWeak.php to .travis.yml
Failing tests don't break builds on purpose, Parsedown doesn't fully comply with the CommonMark specs at the moment. We should switch to test/CommonMarkTest.php later, see #423 for details.
2016-10-09 14:17:03 +02:00
Daniel Rudolf
73dbe2fd17
Remove PHPUnit bootstrap in favour of composer 2016-09-05 22:04:46 +02:00
Daniel Rudolf
33a23fbfb2
Refactor PHPUnit bootstrap
This allows Parsedown extensions (like Parsedown Extra) to reuse existing Parsedown tests. See erusev/parsedown-extra#96 for details.
2016-09-05 21:10:23 +02:00
Daniel Rudolf
228d5f4754
Improve test/CommonMarkTestWeak.php 2016-09-05 15:31:07 +02:00
Daniel Rudolf
2cacfb8da4
Improve test/CommonMarkTestWeak.php 2016-09-05 15:17:52 +02:00
Daniel Rudolf
d33e736fa3
Add test/CommonMarkTestWeak.php 2016-09-05 14:38:47 +02:00
Daniel Rudolf
3a46a31e09
Fix test/CommonMarkTest.php example regex 2016-09-05 14:37:34 +02:00
Daniel Rudolf
e1bcc1c472
Fix test/CommonMarkTest.php 2016-09-05 04:51:28 +02:00
Emanuil Rusev
f671ae7364 improve readme 2016-07-27 11:05:24 +03:00
Emanuil Rusev
490a8f35a4 remove incompatible comment 2016-03-09 19:02:39 +02:00
Emanuil Rusev
94688f21cc improve readme 2016-01-07 19:36:51 +02:00
Emanuil Rusev
693f2c4842 Merge pull request #377 from PhrozenByte/patch-1
Update composer.json requirements
2016-01-07 19:14:25 +02:00
Daniel Rudolf
9545a295cf README.md: Add PHP 5.3+ requirement 2016-01-07 16:48:43 +01:00
Daniel Rudolf
3d649081e5 Update composer.json requirements
Fixes #374
2016-01-06 19:44:53 +01:00
Emanuil Rusev
32de2cedcc Merge pull request #373 from getgrav/master
Simple changes to make Parsedown more pluggable
2015-12-19 16:39:29 +02:00
Andy Miller
e7443a2bd8 Fixed really sorry spelling errors 2015-12-18 20:45:14 -07:00
Andy Miller
10a7ff776c Left as-is 2015-12-17 10:48:21 -07:00
Andy Miller
5ad15b87fa Break out method_exists checks into extendable methods to allow for better pluggability 2015-12-17 10:46:44 -07:00
Andy Miller
b166cab9a2 Make lines protected to allow for extendability 2015-12-17 10:46:04 -07:00
Emanuil Rusev
0f974bf34f improve readme 2015-11-26 15:08:28 +02:00
Emanuil Rusev
3d7cdeec5f remove duplicate item in: who uses it 2015-11-14 09:54:17 +02:00
Emanuil Rusev
97953b193e add Grav CMS to: who uses it 2015-11-14 09:52:07 +02:00
Emanuil Rusev
c046a6b646 Merge pull request #361 from grogy/php7-readme
remove PHP 7.0 from allow failures in tests + improve readme
2015-10-31 20:08:48 +02:00
Emanuil Rusev
f1fefc257c improve readme 2015-10-31 16:13:42 +02:00
Emanuil Rusev
6f23ec8203 improve readme 2015-10-31 15:52:07 +02:00
Emanuil Rusev
23d4544986 improve readme 2015-10-31 15:51:14 +02:00
Emanuil Rusev
5a4ff5d189 improve readme 2015-10-31 15:49:56 +02:00
Václav Makeš
50ac4a06e8 remove PHP 7.0 from allow failures in tests + improve readme 2015-10-31 01:55:49 +01:00
Emanuil Rusev
003af26499 improve readme 2015-10-31 00:45:21 +02:00
Emanuil Rusev
aa63058a88 improve readme 2015-10-31 00:38:24 +02:00
Emanuil Rusev
15d56cdd27 improve readme 2015-10-31 00:37:38 +02:00
Emanuil Rusev
93d77b0b47 improve readme 2015-10-31 00:35:04 +02:00
Emanuil Rusev
c8072a1987 add link to caret.io in readme 2015-10-31 00:33:11 +02:00
Emanuil Rusev
b008290917 Merge pull request #359 from tbreuss/master
Add Herbie CMS to "Who uses it?"
2015-10-25 16:42:45 +02:00
Thomas Breuss
9928c933d8 Add Herbie CMS to "Who uses it?" 2015-10-25 13:33:13 +01:00
Emanuil Rusev
ddb3bd2107 Merge pull request #357 from donatj/master
Parsedown library shouldn't be executable
2015-10-21 01:43:13 +03:00
Jesse Donat
e603c2378d Parsedown library shouldn't be executable 2015-10-20 15:16:36 -05:00
Emanuil Rusev
3ebbd730b5 1.6.0 2015-10-04 19:44:32 +03:00
Emanuil Rusev
1f02626ed6 add link to caret.io 2015-10-01 18:47:31 +03:00
Emanuil Rusev
fa005fdb95 Merge pull request #336 from hkdobrev/late-static-binding
Use late static binding for Parsedown::instance()
2015-08-13 15:16:23 +03:00
Haralan Dobrev
5f40cab3e7 Use late static binding for Parsedown::instance()
Fixes erusev/parsedown-extra#67.

This introduces PHP 5.3+ late static binding to the Singleton pattern in Parsedown.
It will return an instance of Parsedown which inherits the class which
called the `instance()` method rather than always returning instance of just `Parsedown`.

Tests are testing this feature with a test class which inherits from Parsedown.
Notice that calling `instance()` with the default arguments after an instance of
`Parsedown` was already created, it will return it even though it is from just
an instance of `Parsedown`. So this is fixing the problem just partially.
2015-08-13 13:29:33 +03:00
Emanuil Rusev
0e89e3714b 1.5.4 2015-08-03 12:24:05 +03:00
Emanuil Rusev
6b24125f06 clean up 2015-07-31 17:01:14 +03:00
Emanuil Rusev
a589bcac79 resolve #342 2015-07-31 01:33:21 +03:00
Emanuil Rusev
a9dfc97ddc opening code fence doesn't need 2 regex groups 2015-07-16 16:57:13 +03:00
Emanuil Rusev
28774a4359 improve readme 2015-07-15 11:59:59 +03:00
Emanuil Rusev
b8b5711ee5 improve readme 2015-07-15 11:59:40 +03:00
Emanuil Rusev
9579e5f5e5 improve readme 2015-07-15 11:57:45 +03:00
Emanuil Rusev
7f7f6418a3 improve readme 2015-07-15 09:21:38 +03:00