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

Commit Graph

  • 32278afaf3 Fix title v2.0.0-beta-1 2.0.x Aidan Woods 2022-05-21 22:40:24 +01:00
  • b3f0ae4a7e Merge pull request #821 from erusev/documentation-v2.0 Aidan Woods 2022-05-21 22:37:26 +01:00
  • 7c7d581601 Error level 1 instead of totallyTyped Aidan Woods 2022-05-21 22:31:09 +01:00
  • 5cc84366cb Test on 8.1 Aidan Woods 2022-05-21 22:31:00 +01:00
  • 6be43664fd Add additional explaination for the State object Aidan Woods 2022-05-21 22:26:39 +01:00
  • bf6cfe8af0 Show importing of Parsedown and State in example Aidan Woods 2021-12-08 20:28:22 +00:00
  • 6fdcfaa14a Add initial documentation Aidan Woods 2021-11-28 18:47:10 +00:00
  • 79effc4ae2 Ignore invalid docblock in tests Aidan Woods 2021-12-08 20:35:46 +00:00
  • f77cb47528 Remove unnecessary cast Aidan Woods 2021-12-08 20:32:09 +00:00
  • 95c9cce7de Update php-cs-fixer Aidan Woods 2021-10-16 00:45:18 +01:00
  • 9749ef7a8e Slightly nicer to allow construction from StateBearer Aidan Woods 2021-10-15 23:23:14 +01:00
  • 638079a3da Slightly nicer method name Aidan Woods 2021-10-15 23:20:20 +01:00
  • 421a2393d0 StateBearer must be constructable from State Aidan Woods 2021-10-15 23:18:08 +01:00
  • 4af22ec41a Allow substitution of blocks and inlines Aidan Woods 2021-10-15 19:25:47 +01:00
  • 4553515e8e Relax mutation tolerance Aidan Woods 2021-10-13 22:12:06 +01:00
  • 8ce88c1b36 Off by 1 Aidan Woods 2021-10-13 19:55:23 +01:00
  • b73fe2e9ec Apply correct state Aidan Woods 2021-10-13 19:50:47 +01:00
  • 7b0a9cda04 Transformations must return transformable renderables Aidan Woods 2021-10-13 19:46:53 +01:00
  • 05a47e7083 Complete docblock Aidan Woods 2021-10-13 19:35:21 +01:00
  • e9dec33dc6 Replacing all function to TransformableRenderable Aidan Woods 2021-10-13 19:26:07 +01:00
  • a9f41548d3 adding method for Container Aidan Woods 2021-10-13 19:00:24 +01:00
  • 71d9263664 Pass State to render stack closure Aidan Woods 2021-10-13 18:50:04 +01:00
  • 8fc49f6b0a Add TransformableRenderable capability Aidan Woods 2021-10-12 21:58:24 +01:00
  • a48c451d6c Restrict autolinks to https Aidan Woods 2021-10-12 18:21:17 +01:00
  • 2ea4bece92 Return statebearer instead of state Aidan Woods 2021-10-12 18:12:00 +01:00
  • efaf20d005 Minor refactor to use type hints Aidan Woods 2021-10-12 18:05:58 +01:00
  • 0f27f2e842 Add initState to tests Aidan Woods 2021-10-12 18:04:36 +01:00
  • c773305bc1 Add RenderStack Aidan Woods 2021-10-12 00:06:51 +01:00
  • 7c2681be19 Remove travis Aidan Woods 2021-10-11 23:12:06 +01:00
  • 9d5af12971 Run both commonmark tests Aidan Woods 2021-10-11 20:49:58 +01:00
  • 58bb815870 Dev flag Aidan Woods 2021-10-11 20:48:31 +01:00
  • de06199f4e Support old phpunit, remove lock file Aidan Woods 2021-10-11 20:47:21 +01:00
  • f396d49a4c Use static analysis plugin for infection Aidan Woods 2021-10-11 20:43:25 +01:00
  • 7f11869f65 Remove infection for unit tests Aidan Woods 2021-10-11 20:33:25 +01:00
  • 3472b9bd3f GitHub Actions Aidan Woods 2021-10-11 20:25:02 +01:00
  • 7d1b9ca562 Better autolinks Aidan Woods 2021-10-11 20:09:57 +01:00
  • cc5614bc5c Test 8.0 in travis Aidan Woods 2021-10-11 19:25:58 +01:00
  • ca16d7573d Fix psalm errors Aidan Woods 2021-10-11 19:23:44 +01:00
  • 98aab22002 Update dependencies Aidan Woods 2021-10-11 19:22:23 +01:00
  • 9f6112e70a Ignore phpunit result cache Aidan Woods 2021-10-11 19:21:21 +01:00
  • 6598f3860c update readme master Emanuil Rusev 2020-08-09 17:12:21 +03:00
  • 1e5080190c update readme Emanuil Rusev 2020-08-09 17:06:19 +03:00
  • 0c5e8c152e Merge pull request #767 from aidantwoods/enhancement/header-slug Aidan Woods 2020-05-10 14:41:15 +01:00
  • 8764512c23 Add SlugRegister so IDs are not duplicated Aidan Woods 2020-05-05 19:42:32 +01:00
  • 4e99e29d28 Trim leading and trailing hyphens from slug Aidan Woods 2020-05-05 19:11:02 +01:00
  • d8bf07535c Strip superscripts and divisions from eventual slug Aidan Woods 2020-05-04 22:37:38 +01:00
  • e332b4710a Add HeaderSlug configurable Aidan Woods 2020-05-04 22:02:20 +01:00
  • 74df602863 Merge pull request #768 from aidantwoods/feature/mutable-configurable Aidan Woods 2020-05-10 14:30:15 +01:00
  • c835535176 Implement DefinitionBook as MutableConfigurable This is a slightly more correct implementation, but perhaps not worth the headache. Aidan Woods 2020-05-05 19:09:57 +01:00
  • 0ef406e6d2 Add MutableConfigurable Hopefully I do not regret this... Aidan Woods 2020-05-05 19:09:17 +01:00
  • 8e8d1dac21 Resolve dependencies when running unit tests Aidan Woods 2020-05-04 22:41:21 +01:00
  • bc018e1d00 Remove 'matrix' key Aidan Woods 2020-05-04 22:30:27 +01:00
  • dbb929fff7 Commit lock file so static analysis results are stable Aidan Woods 2020-05-04 22:34:29 +01:00
  • 1610e4747c Merge pull request #741 from GrahamCampbell/patch-1 Emanuil Rusev 2020-02-18 12:38:52 +02:00
  • 836c028aa0 Add flag to get type-coverage Aidan Woods 2020-01-26 13:09:19 +00:00
  • 3159a9d3cd Merge pull request #751 from jeanmonod/patch-1 Emanuil Rusev 2020-01-22 09:53:45 +02:00
  • dbee8ab4f2 Update GitHub flavored markdown url Jeanmonod David 2020-01-21 22:07:12 +01:00
  • bded7a6ff3 PHP 7.4 is now released Aidan Woods 2020-01-19 18:14:37 +00:00
  • 2235e36a2c Use verb imperative to indicate method is non-mutating Aidan Woods 2020-01-19 18:06:22 +00:00
  • a6c17f449e previousEmptyLines -> precedingEmptyLines Aidan Woods 2020-01-19 16:53:18 +00:00
  • 7610eacbf9 Fix uppercase typo Aidan Woods 2020-01-19 15:36:53 +00:00
  • 525b72349b Expensive operation last Aidan Woods 2020-01-19 15:34:04 +00:00
  • 39b8b04d33 Clarify sequential lines being tracked are empty Aidan Woods 2020-01-19 15:32:51 +00:00
  • 8d09320009 Compute on read optimisation for previousEmptyLines Aidan Woods 2020-01-19 15:31:33 +00:00
  • a72455c78a Use ->toHtml over ->text Aidan Woods 2020-01-19 15:26:48 +00:00
  • a2ea704a43 Use list type over int array Aidan Woods 2020-01-19 15:23:58 +00:00
  • 13932bca9a Simplify match logic Aidan Woods 2020-01-19 15:09:44 +00:00
  • cb17b6477d Increment version for release 1.7.4 1.7.x Aidan Woods 2019-12-30 22:54:17 +00:00
  • 21f99b156a Merge pull request #745 from aidantwoods/dev-1.7.x/opt-in-rawHtml Aidan Woods 2019-12-30 22:51:57 +00:00
  • 791faca8af Test on 7.4 Aidan Woods 2019-12-30 22:47:43 +00:00
  • add8d18c80 Add rawHtml without using it (extensions may opt-in) Aidan Woods 2019-12-30 22:31:43 +00:00
  • 7073ac3ed1 Dev for 1.7.4 Aidan Woods 2019-12-30 22:36:46 +00:00
  • dba4125b59 Update .travis.yml Graham Campbell 2019-12-20 00:05:10 +00:00
  • 0a6408043f Only run units on 7.4snapshot Aidan Woods 2019-09-09 23:46:04 +01:00
  • 01319b7572 Add 7.4 snapshot Aidan Woods 2019-09-09 23:37:31 +01:00
  • 0a1e4bd802 Formatting fix Aidan Woods 2019-09-09 23:27:58 +01:00
  • bfdd0f29bc More specific annotation Aidan Woods 2019-09-09 23:27:36 +01:00
  • 5db3687892 $matches is guarenteed to contain data for the full pattern Aidan Woods 2019-09-09 23:26:21 +01:00
  • bde621e4c4 Drop master from psalm requirement Aidan Woods 2019-09-09 23:15:11 +01:00
  • f75e7bd970 Prefer master until next release Aidan Woods 2019-07-31 23:25:25 +01:00
  • 18ee4ffe04 Bump min psalm version Aidan Woods 2019-07-25 19:18:26 +02:00
  • 54f7719a08 Force return type to T Aidan Woods 2019-07-25 19:16:28 +02:00
  • f51dd8878a Drop use of undefined reference Aidan Woods 2019-07-25 19:07:08 +02:00
  • 211a7eb5aa Tables always acquire previous Aidan Woods 2019-07-25 16:18:00 +02:00
  • 37f306c3a8 Utilise constant arrays over static vars Aidan Woods 2019-07-25 00:45:53 +02:00
  • ea55a9ffb0 Integer keys aren't necessary Aidan Woods 2019-07-25 00:33:15 +02:00
  • b9bc0b7d37 Update expect-to-pass cache Aidan Woods 2019-07-25 00:27:05 +02:00
  • 34902bc80c Account for type 7 HTML blocks These differ from type 6 blocks in a few ways (other than the HTML element names given in the spec). Aidan Woods 2019-07-25 00:22:09 +02:00
  • f4fb5bd943 Add type 7 HTML block tests Aidan Woods 2019-07-25 00:20:59 +02:00
  • 614c76be6f Drop pre 7.1 Drop pre 5.6 for constant arrays Drop pre 7.1 for private constants Aidan Woods 2019-07-25 00:18:29 +02:00
  • 91b8bda46e Update test cache Aidan Woods 2019-06-16 21:36:11 +01:00
  • 5a12d4245f Allow unused class in tests Aidan Woods 2019-06-16 21:35:13 +01:00
  • 298b319d96 Fix malformed return type Aidan Woods 2019-06-16 21:33:55 +01:00
  • 7b1389b48b More specific return type Aidan Woods 2019-06-16 21:32:37 +01:00
  • 488ecc0377 Use psalm --shepherd test/shepherd-psalm Aidan Woods 2019-04-12 19:30:44 +01:00
  • 87b57bf3cb Add test to prevent regression 1.8.x-beta Aidan Woods 2019-04-10 21:54:34 +01:00
  • 3d2b25b79d Add test to prevent regression Aidan Woods 2019-04-10 21:49:32 +01:00
  • efcccb3256 Update commonmark cache Aidan Woods 2019-04-10 07:02:52 +01:00
  • 9eb6a02334 Limit recursion depth by configurable Fixes https://github.com/erusev/parsedown/issues/681 Aidan Woods 2019-04-07 17:34:40 +01:00
  • b9b75dbcea Update commonmark cache Aidan Woods 2019-04-06 18:39:41 +01:00