Remove text segment from latest post
parent
ec2703e65e
commit
99f2781c74
|
@ -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
|
### where
|
||||||
Custom themes can be defined as lists of key-values in the configuration files:
|
Custom themes can be defined as lists of key-values in the configuration files:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue