Hi,
I’m trying to pass in a link (anchor element) as a parameter to a shortcode. I want it to be rendered as an actual link on my website instead of a raw string:
Is this possible to do?
My markdown looks like the following:
{{< videofigure class="hangman-gif-figure" caption=`Here is the finished app which is available on the <a href="https://play.google.com/store/apps/details?id=com.madeleinesmith.hangman" target="_blank">Play Store</a>` >}}
{{< video src="hangman-finished-app.mp4" class="video-fluid" >}}
{{< /videofigure >}}
and videofigure.html
looks like this:
<figure class="figure {{.Get "class"}}">
{{.Inner|safeHTML}}
<figcaption class="figure-caption text-center">{{.Get "caption"}}</figcaption>
</figure>
I hope this makes sense! I’m a first timer poster here