docs/src/config_style.md
Using the config file, the style (e.g. colors or underlines) can be customized.
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 the command_name and example_variable)example_variable: The variables in the exampleforeground (color string, ANSI code, or RGB, see below)background (color string, ANSI code, or RGB, see below)underline (true or false)bold (true or false)italic (true or false)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 } }