diff --git a/rawhtml/README.md b/rawhtml/README.md new file mode 100644 index 0000000..76a5609 --- /dev/null +++ b/rawhtml/README.md @@ -0,0 +1,18 @@ +# Raw HTML in Hugo + +## Install + +1. Add the shortcode file to `layouts/shortcodes` + +## Usage + +```hugo +{{< rawhtml >}} +
Example HTML
+{{< /rawhtml >}} +``` + +## Preview + +![Raw HTML in Hugo](rawhtml.png) diff --git a/rawhtml/rawhtml.png b/rawhtml/rawhtml.png new file mode 100644 index 0000000..42036f0 Binary files /dev/null and b/rawhtml/rawhtml.png differ diff --git a/rawhtml/shortcodes/rawhtml.html b/rawhtml/shortcodes/rawhtml.html new file mode 100644 index 0000000..520ec17 --- /dev/null +++ b/rawhtml/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ + +{{.Inner}} \ No newline at end of file