mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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:
parent
d005d7d2bb
commit
bfcf89ccca
2
layouts/shortcodes/rawhtml.html
Normal file
2
layouts/shortcodes/rawhtml.html
Normal file
@ -0,0 +1,2 @@
|
||||
<!-- raw html -->
|
||||
{{.Inner}}
|
Loading…
Reference in New Issue
Block a user