Remove text segment from latest post

main
Manos Pitsidianakis 2020-07-30 13:58:33 +03:00
parent ec2703e65e
commit 99f2781c74
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 0 additions and 18 deletions

View File

@ -45,24 +45,6 @@ color_aliases= { "Jebediah" = "#b4da55" }
...
```
There's also a currently undocumented feature if built with `pcre2`: theme formatting of three places in the UI. Here's an example configuration;
```toml
[terminal.themes.win95.text_format_regexps]
"listing.from" = { "\\<[^\\>]*\\>(?:(?:\\s*$)|(?=,))" = { attrs = "Italics" } }
[terminal.themes.win95.text_format_regexps."listing.subject"]
"^\\[Lobsters\\]" = { attrs = "Bold", fg = "White", bg = "#AA120C", priority = 0}
"^\\[(?:(?:[^\\]]*/[^\\]]*)|(?:[Gg]it[Hh]ub))\\]" = { attrs = "Bold", fg = "White", bg = "#24292E", priority = 0}
"^\\[[^\\]]*\\]" = { attrs = "Bold", fg = "White", bg = "#5A828E", priority = 1}
[terminal.themes.win95.text_format_regexps."pager.envelope.body"]
# "^[^\\n]*(?=\\n>)" = { attrs = "Italics", multi_line = true }
"^>.*$" = { attrs = "Italics" }
"\\d+\\s?(?:(?:[KkMmTtGg]?[Bb])|(?:[KkMmTtGg][Bb]?)(?=\\s))" = { attrs = "Bold | Underline" }
```
### where
Custom themes can be defined as lists of key-values in the configuration files: