From 99f2781c7412dc4b34033309eac1ddcbd7066f24 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Thu, 30 Jul 2020 13:58:33 +0300 Subject: [PATCH] Remove text segment from latest post --- posts/2020-07-29-v0.6-alpha-release.markdown | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/posts/2020-07-29-v0.6-alpha-release.markdown b/posts/2020-07-29-v0.6-alpha-release.markdown index 2f48b83..16fe362 100644 --- a/posts/2020-07-29-v0.6-alpha-release.markdown +++ b/posts/2020-07-29-v0.6-alpha-release.markdown @@ -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: