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