19 lines
264 B
Markdown
Raw Normal View History

2022-01-14 15:45:55 +01:00
# Raw HTML in Hugo
## Install
1. Add the shortcode file to `layouts/shortcodes`
## Usage
```hugo
{{< rawhtml >}}
<h1>your html code here</h1>
<p style="color: yellow;">Example HTML</p>
{{< /rawhtml >}}
```
## Preview
![Raw HTML in Hugo](rawhtml.png)