aboutsummaryrefslogtreecommitdiff
path: root/posts/batch-webp-conversion.md
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-05 16:39:27 -0400
committerBradley Taunt <bt@btxx.org>2024-07-05 16:39:27 -0400
commitb3bf04932880e9f984675cff5d70da58167316cc (patch)
treedb30313e5cd51988af36e480077e6456b8590b62 /posts/batch-webp-conversion.md
parentcc72ef25c6de2b0004c163d06486d949acf3c78c (diff)
Start converting code samples into cleaner markdown chunks
Diffstat (limited to 'posts/batch-webp-conversion.md')
-rw-r--r--posts/batch-webp-conversion.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/posts/batch-webp-conversion.md b/posts/batch-webp-conversion.md
index 4bf930e..9befa46 100644
--- a/posts/batch-webp-conversion.md
+++ b/posts/batch-webp-conversion.md
@@ -36,12 +36,12 @@ You *could* download one of the many native apps from the Mac App Store to do th
8) Enter the following code below as your script and type `⌘-S` to save (name it something like "Convert to webp")
-```
+~~~sh
for f in "$@"
do
/usr/local/bin/cwebp -q 85 "$f" -o "${f%.*}.webp"
done
-```
+~~~
For visual reference, it should look something like this:
@@ -67,9 +67,9 @@ Simple as that!
I was contacted by the very helpful [Kev Quirk](https://kevq.uk) about a minor problem he encountered while following this tutorial. When trying to run `cwebp` he received the following error message:
-```
+~~~sh
cwebp cannot be opened because it's from an unverified developer
-```
+~~~
Doing the next steps seemed to have fixed this issue for him: