mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2026-10-28 12:01:26 +01:00
add shortcode to Insert Raw HTML
{{< rawhtml >}}
<p class="someclass">
This is <strong>raw HTML</strong>, inside Markdown.
</p>
{{< /rawhtml >}}
credits : https://anaulin.org/blog/hugo-raw-html-shortcode/
This commit is contained in:
1 parent
d005d7d2bb
commit
bfcf89ccca
1 file changed
+2
@@ -0,0 +1,2 @@
|
||||
<!-- raw html -->
|
||||
{{.Inner}}
|
||||
Reference in new issue
Block a user