Commit Graph
15 Commits
Author SHA1 Message Date
Christian Muehlhaeuser 8bc396c145 Write styled prefix to current block 2019-12-13 04:04:38 +01:00
Christian Muehlhaeuser 35342a2061 Decode style JSON into a typed struct 2019-12-13 03:04:48 +01:00
Christian Muehlhaeuser 07f52dd42a Switch to goldmark parser 2019-12-13 03:00:45 +01:00
Christian Muehlhaeuser 544fe9741d Avoid unnecessary converions 2019-12-10 18:14:37 +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 71e84251b3 Calculate block width from BlockStack & RenderContext 2019-12-07 19:49:24 +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 b62a54035e Don't apply hardcoded markup for heading elements 2019-12-06 00:24:06 +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 eaed263d06 Cascade Heading style into new H1, H2, ..., H6 styles 2019-12-05 14:05:35 +01:00
Christian Muehlhaeuser 60e71effec HeadingElement now supports indent & margin 2019-12-05 09:44:20 +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