aboutsummaryrefslogtreecommitdiff
path: root/posts/heif.md
diff options
context:
space:
mode:
Diffstat (limited to 'posts/heif.md')
-rw-r--r--posts/heif.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/posts/heif.md b/posts/heif.md
index 32a8166..7eb32ef 100644
--- a/posts/heif.md
+++ b/posts/heif.md
@@ -24,12 +24,12 @@ For this example script we are going to convert the image to JPG format. You can
7. Set the area "Pass input" to `as arguments`
8. Enter the following code below as your script and type `⌘-S` to save (name it something like "Convert HEIC/HEIF to JPG")
-~~~sh
+```sh
for f in "$@"
do
/opt/homebrew/bin/heif-convert "$f" "${f%.*}.jpg"
done
-~~~
+```
## Making Edits