mirror of
https://codeberg.org/cage/tinmop/
synced 2025-02-08 07:08:39 +01:00
- reworked a few regular expressions to fix mentions coloring.
This commit is contained in:
parent
d72ab12a8b
commit
185ec6aa3b
@ -107,18 +107,6 @@ color-regexp = "[0-9]{4}-[0-9]?[0-9]-[0-9]?[0-9]" #0000ff bo
|
|||||||
|
|
||||||
color-regexp = "-?[0-9]+(.[0-9]+)?%" #ff00ff bold
|
color-regexp = "-?[0-9]+(.[0-9]+)?%" #ff00ff bold
|
||||||
|
|
||||||
# *bold*
|
|
||||||
|
|
||||||
color-regexp = "\*[^*]+\*" #ffff00 bold
|
|
||||||
|
|
||||||
# _underline_
|
|
||||||
|
|
||||||
color-regexp = "_[^_]+_" #ffff00 underline
|
|
||||||
|
|
||||||
# /italic/ , commented as interferes with file path and URI
|
|
||||||
|
|
||||||
#color-regexp = "/[^/]+/" #ffff00 italic
|
|
||||||
|
|
||||||
# by default polls uses that
|
# by default polls uses that
|
||||||
|
|
||||||
color-regexp = "⯀" green bold
|
color-regexp = "⯀" green bold
|
||||||
@ -135,7 +123,7 @@ color-regexp = "[012][0-9]:[0123456][0-9]" cyan bold
|
|||||||
|
|
||||||
# mentions
|
# mentions
|
||||||
|
|
||||||
color-regexp = "@[a-zA-Z0-9]+ " cyan
|
color-regexp = "@[^\s]+" cyan
|
||||||
|
|
||||||
# gemini colorization
|
# gemini colorization
|
||||||
|
|
||||||
@ -167,6 +155,18 @@ color-regexp = ":aborted" red
|
|||||||
|
|
||||||
color-regexp = ":rendering" cyan
|
color-regexp = ":rendering" cyan
|
||||||
|
|
||||||
|
# _underline_
|
||||||
|
|
||||||
|
color-regexp = "_[^_]+_" #ffff00 underline
|
||||||
|
|
||||||
|
# *bold*
|
||||||
|
|
||||||
|
color-regexp = "\*[^*]+\*" #ffff00 bold
|
||||||
|
|
||||||
|
# /italic/ , commented as interferes with file path and URI
|
||||||
|
|
||||||
|
#color-regexp = "/[^/]+/" #ffff00 italic
|
||||||
|
|
||||||
# The width of the generated table of contents for gemini pages when
|
# The width of the generated table of contents for gemini pages when
|
||||||
# tinmop is ran as exclusive gemini client (command line option "-G")
|
# tinmop is ran as exclusive gemini client (command line option "-G")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user