minor change
This commit is contained in:
parent
7bba4c0e61
commit
fe81858e09
@ -2,7 +2,7 @@
|
||||
|
||||
toc=$(zk-gen-dir-md-toc)
|
||||
|
||||
echo -e "START_TOC\n$toc\n\nEND_TOC" > temp.md
|
||||
echo -e "START_TOC$toc\nEND_TOC" > temp.md
|
||||
|
||||
if [ -f index.md ]; then
|
||||
perl -i -p0e 's/START_TOC.*END_TOC/`cat temp.md`/se' index.md
|
||||
|
||||
Reference in New Issue
Block a user