mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-08-30 13:46:44 -04:00
Gold Styles
Elements
document
The document element defines the markdown's body.
Attributes
| Attribute | Value | Description |
|---|---|---|
| prefix | string | Printed before the first element during rendering |
| suffix | string | Printed after the last element during rendering |
| indent | number | Specifies the indentation of the document |
| margin | number | Specifies the margin around the document |
| color | color | Defines the default text color for the document |
| background_color | color | Defines the default background color for the document |
Example
"document": {
"indent": 2,
"background_color": "234",
"prefix": "\n",
"suffix": "\n"
}
text
The text element defines a block of text.
Attributes
| Attribute | Value | Description |
|---|---|---|
| prefix | string | Printed before the text gets printed |
| suffix | string | Printed after the text got printed |
| color | color | Defines the default text color for the document |
| background_color | color | Defines the default background color for the document |
| bold | bool | Increases text intensity |
| faint | bool | Decreases text intensity |
| italic | bool | Prints the text in italic |
| crossed_out | bool | Enables strikethrough as text decoration |
| underline | bool | Enables underline as text decoration |
| overlined | bool | Enables overline as text decoration |
| blink | bool | Enables blinking text |
| conceal | bool | Conceals / hides the text |
| inverse | bool | Swaps fore- & background colors |
Example
"text": {
"bold": true,
"color": "15",
"background_color": "57"
}