summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-24 21:22:46 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-07-24 21:24:18 +0530
commitbfcf89ccca27e26a0858e725b858d6c5f71960d5 (patch)
tree3160085a6325f18d72180d36b9a48d288d3377be /layouts/shortcodes
parentd005d7d2bb6a710b8671de463de3372c68399ee7 (diff)
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/
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/rawhtml.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html
new file mode 100644
index 0000000..520ec17
--- /dev/null
+++ b/layouts/shortcodes/rawhtml.html
@@ -0,0 +1,2 @@
+<!-- raw html -->
+{{.Inner}} \ No newline at end of file