colorify checklist

This commit is contained in:
Ville Rantanen
2015-09-23 10:49:11 +03:00
parent 76a85dbb0b
commit f17f9bdd1f

View File

@@ -17,6 +17,8 @@ function helpexit() {
# *bold* & **bold**
# _bold_
# <> tags
# [ ] check list (unofficial)
# [x] check list (unofficial)
# Color codes
export HB_RULES='"^\s*\*.*" "$y" \
@@ -28,6 +30,8 @@ export HB_RULES='"^\s*\*.*" "$y" \
"\*\{1,2\}[^[[:space:]]]*[^\*]\+\*\{1,2\}" "$W" \
"_[^[[:space:]]]*[^_]\+_" "$W" \
"<[^>]\+>" "$K" \
"^\s*\[\s]\s.*" "$y" \
"^\s*\[x]\s.*" "$Y" \
"\${R}.*" "$R" \
"\${G}.*" "$G" \
"\${B}.*" "$B" \