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

11 Commits

Author SHA1 Message Date
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
3dd1326ded Trim paragraph contents 2019-04-07 16:38:10 +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
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
c9388cb5c2 Make use of line name instead of lineElements 2019-04-07 16:38:01 +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
18e239fba1 Implement Paragraph 2019-04-07 16:37:55 +01:00