Improve index and relative link replacement

This commit is contained in:
David Young committed 2020-06-03 14:42:58 +12:00
1 parent a1661cb17e
commit 324d9c1540
2 files changed
+11 -23

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ do
sed -i "s/\`\`\`\`/\`\`\`/g" $file
# Can't use relative paths in a book, so make all paths static
sed -i 's/(\//https:\/\/geek-cookbook.funkypenguin.co.nz\//g' $file
sed -i 's/](\//\](https:\/\/geek-cookbook.funkypenguin.co.nz\//g' $file
# strip emojis
tr -cd '\11\12\15\40-\176' < $file > $file-clean