21 lines
295 B
Markdown
Raw Normal View History

2022-01-14 15:45:55 +01:00
# Raw HTML in Hugo
2022-01-14 23:25:00 +01:00
Insert raw HTML Code anywhere
2022-01-14 15:45:55 +01:00
## 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)