2 Commits

Author SHA1 Message Date
720a01140c Updated some regexes for markdown coloring 2025-04-24 08:58:46 -04:00
9ced9ab5cb Added underline 'color' 2025-04-24 08:58:24 -04:00
2 changed files with 8 additions and 1 deletions

View File

@@ -5,3 +5,4 @@
PINK: 38 244 211 244 22
BOLD_WHITE: 38 -1 -1 -1 1
ITALIC_WHITE: 38 -1 -1 -1 3
UNDERLINE_WHITE: 38 -1 -1 -1 4

View File

@@ -1,7 +1,13 @@
# Priority decreases going downward ie. If two regexes match the same piece of
# text, the one defined earlier will take precedence over the one defined later.
# Headings
'##?#?#?#?#?.*': MAGENTA
'^#{1,6}.*?$': MAGENTA
# Link text
'\[.*?\](?=\(.*?\))': UNDERLINE_WHITE
# Link URL
'https?://\w+\.\w+.*?(?=\))': RED
# Code blocks
'```(.|\n)+?```': YELLOW