updating colorers

This commit is contained in:
Ville Rantanen
2016-06-03 13:47:08 +03:00
parent 7aa683484a
commit 4b57c0f416
3 changed files with 10 additions and 5 deletions

View File

@@ -11,11 +11,12 @@ function helpexit() {
# * bullets
# 1. ordered list
# ## Headers
# ``` code block
# code block
# code inline
# [links](URL)
# *bold* & **bold**
# _bold_
# _bold_
# <> tags
# [ ] check list (unofficial)
# [x] check list (unofficial)
@@ -23,13 +24,14 @@ function helpexit() {
# Color codes
export HB_RULES='"\[[^]]\+\]([^)]\+)" "$U$B" \
"^\s*\*.*" "$y" \
"^\s*\*" "$y" \
"^[[:space:]]*[0-9]\+\..*" "$y" \
"^#.*" "$U$W" \
"\`\`\`.*" "$c" \
"^\s\s\s\s[^\*0-9].*" "$c" \
"\`[^[[:space:]]]*[^\`]\+\`" "$c" \
"\*\{1,2\}[^[[:space:]]]*[^\*]\+\*\{1,2\}" "$W" \
"_[^[[:space:]]]*[^_]\+_" "$W" \
"[[:space:]]_[^[[:space:]]]*[^_]\+_" "$W" \
"<[^>]\+>" "$K" \
"^\s*\[\s]\s.*" "$y" \
"^\s*\[x]\s.*" "$Y" \