summaryrefslogtreecommitdiff
path: root/lib/template.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-08-24 19:18:51 +0300
committerPaul Buetow <paul@buetow.org>2024-08-24 19:18:51 +0300
commit3414d142ca5cad945657c2996f924db34da79c3d (patch)
tree3adbd4417a417f352f88293c27ce1d2339502ae7 /lib/template.source.sh
parentd64661ccdf837bb66c3268cb4415c56ba033f515 (diff)
change toc format and fix a bug
Diffstat (limited to 'lib/template.source.sh')
-rw-r--r--lib/template.source.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.source.sh b/lib/template.source.sh
index 7689728..88eba0f 100644
--- a/lib/template.source.sh
+++ b/lib/template.source.sh
@@ -97,8 +97,8 @@ template::inline::toc () {
< "$(basename "$CURRENT_TPL")" $SED -E -n '
/^```/,/^```/! {
/^#+ / {
- s/#/* :/
- s/#/:/g
+ s/#/* ⇢/
+ s/#/ ⇢/g
p
}
}