mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-17 19:51:43 +00:00
Update for leanpub preview
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user