I’m trying to test the image rendering functionality, but when I insert a hugo pipe in a post’s markdown file, it just displays the pipe as text.
For example, putting this in my post .md file:
test image:
{{ $image := Resources.Get "images/polaroid.png" }}
![polaroid test]($image)
Displays as this:
What am I doing wrong?
Related, is there a way to modify the markdown image tag (I assume via render-image.html) to always render images as webp? (either from the page bundle or from global assets)