Christian Muehlhaeuser
|
72978312ce
|
Support format strings in style elements
|
2019-12-07 09:27:12 +01:00 |
|
Christian Muehlhaeuser
|
6fe32ed145
|
Embed styles in gold library
|
2019-12-06 01:34:27 +01:00 |
|
Christian Muehlhaeuser
|
239b3ec93c
|
Inherit prefix and suffix from parent style on demand
|
2019-12-06 00:24:31 +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
|
12d8828d4b
|
Remove spurious Indent style element
|
2019-12-05 13:29:03 +01:00 |
|
Christian Muehlhaeuser
|
39a6da5fe7
|
Support hex color values in style config
While we don't support extended color ranges just yet, this approximates
the hex value to the closest color value in the ANSI 256-color chart.
|
2019-12-05 11:43:56 +01:00 |
|
Christian Muehlhaeuser
|
82d6db7c7d
|
Add new element style 'enumeration', used for items in ordered lists
|
2019-12-05 10:05:15 +01:00 |
|
Christian Muehlhaeuser
|
4c98804213
|
Move BlockStack into a separate file blockstack.go
|
2019-12-05 08:06:08 +01:00 |
|
Christian Muehlhaeuser
|
038f2dd684
|
Handle write buffers & cascading styles in BlockStack
|
2019-12-04 13:36:31 +01:00 |
|
Christian Muehlhaeuser
|
419fda75c9
|
Support margin style flag
|
2019-12-04 06:58:28 +01:00 |
|
Christian Muehlhaeuser
|
ca06d9968c
|
Add StyleStack.Parent, returning the current style's parent
|
2019-12-04 06:38:10 +01:00 |
|
Christian Muehlhaeuser
|
7184df4a14
|
Add StyleStack.Indent and .With
|
2019-12-04 04:54:57 +01:00 |
|
Christian Muehlhaeuser
|
f27536eeb4
|
Add cascading style helpers
|
2019-12-02 15:19:25 +01:00 |
|
Christian Muehlhaeuser
|
d37d023d5d
|
Support styled indents for block elements
|
2019-11-30 06:43:13 +01:00 |
|
Christian Muehlhaeuser
|
8ddf4be8b2
|
Add image_text style, which lets you change the look of an image's name/alt
|
2019-11-28 02:27:00 +01:00 |
|
Christian Muehlhaeuser
|
730f9bd2fb
|
Let users define a prefix & suffix for style elements
|
2019-11-26 22:39:39 +01:00 |
|
Christian Muehlhaeuser
|
937e525993
|
Let user pick a syntax color theme in Gold's style config
|
2019-11-25 06:02:50 +01:00 |
|
Christian Muehlhaeuser
|
16c2b7a239
|
Move style handling to style.go
|
2019-11-25 05:19:47 +01:00 |
|