Christian Muehlhaeuser
|
15370d018f
|
Add MarginWriter to avoid code repetition
|
2019-12-08 15:22:21 +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
|
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
|
512abfe4c0
|
Create BlockElement even if there's no style for it
|
2019-12-04 13:42:40 +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
|
419fda75c9
|
Support margin style flag
|
2019-12-04 06:58:28 +01:00 |
|
Christian Muehlhaeuser
|
afd83210ea
|
Simplify code
|
2019-12-04 05:38:54 +01:00 |
|
Christian Muehlhaeuser
|
c2a1ec4ccd
|
Use IndentWriter proxied by AnsiWriter
|
2019-12-04 05:20:30 +01:00 |
|
Christian Muehlhaeuser
|
d0b616b12b
|
Children in a Document or Paragraph element inherit their parent's color styles
|
2019-12-02 15:23:45 +01:00 |
|
Christian Muehlhaeuser
|
d6d52829bb
|
Make document indentable
|
2019-11-30 08:07:40 +01:00 |
|