Commit Graph
14 Commits
Author SHA1 Message Date
Christian Muehlhaeuser 00c809072e Render prefix & suffix around chroma code-blocks 2019-12-09 12:59:35 +01:00
Christian Muehlhaeuser c868abeeec Render indent of code_block and heading in current style 2019-12-08 16:47:36 +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 78e36a02d0 Use ElementStyle as a value instead of pointer, so we can drop all the annoying nil checks 2019-12-05 18:05:29 +01:00
Christian Muehlhaeuser c4b02ad80d Cascade other style options to children when requested 2019-12-05 14:07:10 +01:00
Christian Muehlhaeuser 038f2dd684 Handle write buffers & cascading styles in BlockStack 2019-12-04 13:36:31 +01:00
Christian Muehlhaeuser f7244397d2 Support margins in block elements 2019-12-04 06:59:53 +01:00
Christian Muehlhaeuser 8bcc61ace1 Use IndentFunc to style indents correctly 2019-12-04 06:38:55 +01:00
Christian Muehlhaeuser b518696b44 Use renderText even without an active style 2019-12-04 05:47:57 +01:00
Christian Muehlhaeuser c2a1ec4ccd Use IndentWriter proxied by AnsiWriter 2019-12-04 05:20:30 +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 24a6306e1a Use a Renderer interface instead of rendering fragments 2019-11-26 03:24:56 +01:00