Christian Muehlhaeuser
|
35342a2061
|
Decode style JSON into a typed struct
|
2019-12-13 03:04:48 +01:00 |
|
Christian Muehlhaeuser
|
30ed5cc5ef
|
Move BlockElement into a separate file
|
2019-12-13 03:00:45 +01:00 |
|
Christian Muehlhaeuser
|
bdc418e334
|
Parent of the first block has an empty style
|
2019-12-08 16:47:11 +01:00 |
|
Christian Muehlhaeuser
|
b4c77e8101
|
Add BlockStack.Len() for convenience
|
2019-12-08 13:52:22 +01:00 |
|
Christian Muehlhaeuser
|
71e84251b3
|
Calculate block width from BlockStack & RenderContext
|
2019-12-07 19:49:24 +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
|
4c98804213
|
Move BlockStack into a separate file blockstack.go
|
2019-12-05 08:06:08 +01:00 |
|