Section: [style]
Using the config file, the style (e.g. colors or underlines) can be customized.
Style Targets
description
: The initial description textcommand_name
: The command name as part of the example codeexample_text
: The text that describes an exampleexample_code
: The example itself (except thecommand_name
andexample_variable
)example_variable
: The variables in the example
Attributes
foreground
(color string, ANSI code, or RGB, see below)background
(color string, ANSI code, or RGB, see below)underline
(true
orfalse
)bold
(true
orfalse
)italic
(true
orfalse
)
Colors can be specified in one of three ways:
-
Color string (
black
,red
,green
,yellow
,blue
,magenta
,cyan
,white
):Example:
foreground = "green"
-
256 color ANSI code (tealdeer v1.5.0+)
Example:
foreground = { ansi = 4 }
-
24-bit RGB color (tealdeer v1.5.0+)
Example:
background = { rgb = { r = 255, g = 255, b = 255 } }