Browse Source

Remove text segment from latest post

main
Manos Pitsidianakis 9 months ago
parent
commit
99f2781c74
Signed by untrusted user: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      posts/2020-07-29-v0.6-alpha-release.markdown

+ 0
- 18
posts/2020-07-29-v0.6-alpha-release.markdown 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:

Loading…
Cancel
Save