diff options
Diffstat (limited to 'doc/aerc-stylesets.7.scd')
-rw-r--r-- | doc/aerc-stylesets.7.scd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/aerc-stylesets.7.scd b/doc/aerc-stylesets.7.scd index eaedb4cb..c633dcef 100644 --- a/doc/aerc-stylesets.7.scd +++ b/doc/aerc-stylesets.7.scd @@ -166,6 +166,18 @@ declared under a *[viewer]* section of the styleset file. | *quote_x* : Above fourth level quoted text. +User defined styles can be used to style arbitrary strings in go-templates (see +_.Style_ in *aerc-templates*(7)). User styles must be defined in the _[user]_ +ini section. Styles can be referenced by their name (e.g. _red.fg_ is named +"red"). + +Example: + +``` +[user] +red.fg=red +``` + ## FNMATCH STYLE WILDCARD MATCHING The styleset configuration can be made simpler by using the fnmatch |