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:
Aditya Telange 2020-07-24 21:22:46 +05:30
parent d005d7d2bb
commit bfcf89ccca

View File

@ -0,0 +1,2 @@
<!-- raw html -->
{{.Inner}}