1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-18 20:21:45 +00:00

Update for leanpub preview

This commit is contained in:
AutoPenguin
2020-06-03 02:01:07 +00:00
parent 2e8e16157b
commit c511f5ccb7
114 changed files with 2 additions and 12542 deletions

View File

@@ -5,10 +5,10 @@ do
echo "Processing $file..."
# Markua doesn't know what to do with 4 backticks (````), so convert to 3:
sed -ie "s/\`\`\`\`/\`\`\`/g" $file
sed -i "s/\`\`\`\`/\`\`\`/g" $file
# Can't use relative paths in a book, so make all paths static
sed -ie '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