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

16 Commits

Author SHA1 Message Date
Aidan Woods
638079a3da
Slightly nicer method name
Normally this name might be too vague for an interface, but implementing
this interface is a fairly special use case. We can expect dedicated
types here (so method name unlikely to be an issue).
2021-10-15 23:20:20 +01:00
Aidan Woods
421a2393d0
StateBearer must be constructable from State 2021-10-15 23:18:08 +01:00
Aidan Woods
4af22ec41a
Allow substitution of blocks and inlines 2021-10-15 19:25:47 +01:00
Aidan Woods
a9f41548d3
adding method for Container 2021-10-13 19:02:52 +01:00
Aidan Woods
71d9263664
Pass State to render stack closure 2021-10-13 18:50:04 +01:00
Aidan Woods
c773305bc1
Add RenderStack
This is a special configurable that can be used to alter the
Renderable[] AST before output.
2021-10-12 00:06:51 +01:00
Aidan Woods
ca16d7573d
Fix psalm errors 2021-10-11 19:23:44 +01:00
Aidan Woods
8764512c23
Add SlugRegister so IDs are not duplicated 2020-05-10 14:32:01 +01:00
Aidan Woods
e332b4710a
Add HeaderSlug configurable
Adds HeaderSlug configurable, with the option for the slug function
to be customised.

Co-authored-by: netniV <netniv@hotmail.com>
2020-05-10 14:31:55 +01:00
Aidan Woods
a72455c78a
Use ->toHtml over ->text 2020-01-19 15:26:48 +00:00
Aidan Woods
9eb6a02334
Limit recursion depth by configurable
Fixes https://github.com/erusev/parsedown/issues/681
2019-04-07 17:34:40 +01:00
Aidan Woods
7f6127f3f8
Ensure we cover all mutations in tests 2019-04-07 16:38:19 +01: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
93e68056a8
Further improve tests 2019-04-07 16:38:18 +01:00
Aidan Woods
4fb6ac31a5
Improve tests 2019-04-07 16:38:18 +01:00
Aidan Woods
d8d483bd6a
Add some component level tests 2019-04-07 16:38:17 +01:00