Skip to content
Snippets Groups Projects
Commit a55594e1 authored by Sietze van Buuren's avatar Sietze van Buuren
Browse files

Include short-code to embed SVG images


Including SVG images using standard markdown disables certain features.
This commit adds a short-code that allows embedding SVG images. By
embedding the SVG image, its features are retained.
SVG features include clickable linked areas, hover texts, etc.

Usage example:
{{< svg "/images/example.svg" >}}

Signed-off-by: default avatarSietze van Buuren <Sietze.vanBuuren@de.bosch.com>
parent a3e40c42
No related branches found
No related tags found
1 merge request!579Include short-code to embed SVG images
Pipeline #622054 passed with warnings
<figure style="text-align: center;">
{{ readFile (print "static" (index .Params 0)) | safeHTML }}
</figure>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment