From bd33ac6c595b66504fae70f6433267d5acd85ce5 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 6 Jun 2018 22:26:35 +1200 Subject: [PATCH] Remove Emojis --- scripts/markdown-to-markua.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/markdown-to-markua.sh b/scripts/markdown-to-markua.sh index 81355b6..07f1889 100755 --- a/scripts/markdown-to-markua.sh +++ b/scripts/markdown-to-markua.sh @@ -3,4 +3,8 @@ # Markua doesn't know what to do with 4 backticks (````), so convert to 3: find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/\`\`\`\`/\`\`\`/g" +# Markua doesn't like emojis, so remove them: +find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/👏//g" +find manuscript -type f -name "*.md" -print0 | xargs -0 sed -i "s/💬//g" + # Do nothing, yet. This is where the sed magic will go