Commit Graph
20 Commits
Author SHA1 Message Date
Christian Muehlhaeuser dadf4bbc1f Skip paragraphs inside ListItems 2019-12-13 04:03:30 +01:00
Christian Muehlhaeuser aa7c98e225 Drop redundant DocumentElement 2019-12-13 03:05:55 +01:00
Christian Muehlhaeuser 35342a2061 Decode style JSON into a typed struct 2019-12-13 03:04:48 +01:00
Christian Muehlhaeuser e310343e4a Support rendering definition lists 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 0a3ba0ae35 Support strikethrough elements 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 07f52dd42a Switch to goldmark parser 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 50046dd6b3 Move text sanitizing to RenderContext 2019-12-10 17:32:49 +01:00
Christian Muehlhaeuser 71e84251b3 Calculate block width from BlockStack & RenderContext 2019-12-07 19:49:24 +01:00
Christian Muehlhaeuser 7404a91eb4 Add default styles for horizontal rule element 2019-12-07 18:56:08 +01:00
Christian Muehlhaeuser 897b2dbd1e Decouple render elements from blackfriday parser 2019-12-07 18:48:08 +01:00
Christian Muehlhaeuser 665477d690 Move stateful objects to RenderContext struct 2019-12-07 15:40:42 +01:00
Christian Muehlhaeuser c4b02ad80d Cascade other style options to children when requested 2019-12-05 14:07:10 +01:00
Christian Muehlhaeuser 15d9fd129b Handle Lists as a block element, which supports margins & indents 2019-12-04 13:37:14 +01:00
Christian Muehlhaeuser 92e1c2dde8 Use PaddingWriter to render paragraphs 2019-12-04 05:21:37 +01:00
Christian Muehlhaeuser d6d52829bb Make document indentable 2019-11-30 08:07:40 +01:00
Christian Muehlhaeuser d37d023d5d Support styled indents for block elements 2019-11-30 06:43:13 +01:00
Christian Muehlhaeuser f1a62c8b72 Redundant code cleanup 2019-11-28 02:32:11 +01:00
Christian Muehlhaeuser 9eee4b13c3 Table rendering (#40)
Renders markdown tables.
2019-11-26 04:21:22 +01:00
Christian Muehlhaeuser 8f083a1043 Clean up pre/post ambiguity 2019-11-26 03:55:43 +01:00
Christian Muehlhaeuser 24a6306e1a Use a Renderer interface instead of rendering fragments 2019-11-26 03:24:56 +01:00