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

17 Commits

Author SHA1 Message Date
Aidan Woods
ca16d7573d Fix psalm errors 2021-10-11 19:23:44 +01:00
Aidan Woods
a6c17f449e previousEmptyLines -> precedingEmptyLines 2020-01-19 17:15:02 +00:00
Aidan Woods
13932bca9a Simplify match logic 2020-01-19 15:09:44 +00:00
Aidan Woods
ea55a9ffb0 Integer keys aren't necessary 2019-07-25 00:33:15 +02:00
Aidan Woods
3ccd64a9a1 Expand public API of Components
Ref: https://github.com/erusev/parsedown/issues/694
2019-04-07 16:38:19 +01:00
Aidan Woods
3c0b528d54 Constructor shouldn't be part of public API 2019-04-07 16:38:18 +01:00
Aidan Woods
2b79d599fb Require State to build and advance blocks 2019-04-07 16:38:15 +01:00
Aidan Woods
a681cf631c Acquisition capable blocks as an interface 2019-04-07 16:38:15 +01:00
Aidan Woods
117912c373 Substr over indexing string 2019-04-07 16:38:12 +01:00
Aidan Woods
63a97a926b Remove leftover hackyness 2019-04-07 16:38:12 +01:00
Aidan Woods
d6f526d80f Return state after block parse instead of mutating the instance copy 2019-04-07 16:38:06 +01:00
Aidan Woods
d733c262c2 Cleanup logical operators 2019-04-07 16:38:06 +01:00
Aidan Woods
11da347aa1 We don't need to pass a Parsedown instance down
Since Parsedown is instancible from State, we only
need to carry that down.
2019-04-07 16:38:05 +01:00
Aidan Woods
bb424e606f Improve indent handling by lists 2019-04-07 16:38:03 +01:00
Aidan Woods
dac6b01d1a Remove meaningless interrupt check
Interrupted implies previousEmptyLines > 0 in incoming Context
2019-04-07 16:38:00 +01:00
Aidan Woods
e4ed4da626 More keyword related fixes for pre PHP 7 2019-04-07 16:38:00 +01:00
Aidan Woods
a95bc60c30 Implement List 2019-04-07 16:37:54 +01:00