Embedding (inline) SVG in content / markdown

{{ readFile "static/triangle.svg" | safeHTML }}

Note that I have put the “static” root folder there to indicate that readFile reads relative to the project root.

4 Likes