aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2022-12-09 19:36:36 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2022-12-09 19:36:36 +0100
commit5531ad3917faae6d6bed3ce5efcff8638cee8fba (patch)
tree9864125eb8da11278d30fa1d8bdb0ac1777851ad
parent7db61c4a1116c0f09baf6e4cc04488e0f7584dee (diff)
change markdown char to `HEADmaster
-rwxr-xr-xscrubs8
1 files changed, 4 insertions, 4 deletions
diff --git a/scrubs b/scrubs
index 452db3c..da95fb9 100755
--- a/scrubs
+++ b/scrubs
@@ -27,8 +27,8 @@ todos() {
sed -e 's/^\*/ /g' | \
sed -E 's/@category (.*)/\\033[34m\1\\033[0m/g' | \
sed -E 's/@([^ ]*)[ ]*(.*)/\\033[2m\1\\033[0m \\033[33m\2\\033[0m/g' | \
- sed -E 's/__([^__]*)__/\\033[1m\1\\033[0m/g' | \
- sed -E 's/_([^_]*)_/\\033[3m\1\\033[0m/g')\n"
+ sed -E 's/``([^``]*)``/\\033[1m\1\\033[0m/g' | \
+ sed -E 's/`([^`]*)`/\\033[3m\1\\033[0m/g')\n"
}
get_docs() {
@@ -59,8 +59,8 @@ doc() {
sed -E 's/@type (.*)/\\033[32m\1\\033[0m/g' | \
sed -E 's/@name (.*)/\\033[34m\1\\033[0m/g' | \
sed -E 's/@([^ ]*)[ ]*(.*)/\\033[2m\1\\033[0m \\033[33m\2\\033[0m/g' | \
- sed -E 's/__([^__]*)__/\\033[1m\1\\033[0m/g' | \
- sed -E 's/_([^_]*)_/\\033[3m\1\\033[0m/g')
+ sed -E 's/``([^``]*)``/\\033[1m\1\\033[0m/g' | \
+ sed -E 's/`([^`]*)`/\\033[3m\1\\033[0m/g')
if [ "$(printf "%s" "$output" | wc -l)" -eq 0 ]; then
printf "%s\n" "There is no documentation for '$1' '$2'"