adding unofficial coloring rules
This commit is contained in:
@@ -19,6 +19,7 @@ function helpexit() {
|
||||
# <> tags
|
||||
# [ ] check list (unofficial)
|
||||
# [x] check list (unofficial)
|
||||
# $> $! unofficial colors for executable code blocks
|
||||
# Color codes
|
||||
|
||||
export HB_RULES='"\[[^]]\+\]([^)]\+)" "$U$B" \
|
||||
@@ -32,6 +33,7 @@ export HB_RULES='"\[[^]]\+\]([^)]\+)" "$U$B" \
|
||||
"<[^>]\+>" "$K" \
|
||||
"^\s*\[\s]\s.*" "$y" \
|
||||
"^\s*\[x]\s.*" "$Y" \
|
||||
"\$[>!].*\$[>!]" "$c" \
|
||||
"\${R}.*" "$R" \
|
||||
"\${G}.*" "$G" \
|
||||
"\${B}.*" "$B" \
|
||||
@@ -52,5 +54,5 @@ export HB_RULES='"\[[^]]\+\]([^)]\+)" "$U$B" \
|
||||
"\${Z}.*" "$Z" \
|
||||
'
|
||||
|
||||
cat "$@" | highbeam -c | sed 's,\${[RGBCMYrgbcmykKwWU]},,g'
|
||||
cat "$@" | highbeam -c | sed 's,\${[RGBCMYrgbcmykKwWUZ]},,g'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user