Apr 2, 2021
Render raw html in HUGO markdown files
Render raw html in HUGO markdown files
Jason Murray
32 Words
2021-04-02 06:32 -0500
By default Hugo will not render embedded html in markdown files. To enable, add the following lines to config.toml:
[markup.goldmark.renderer]
unsafe = true
Entering the raw html:
<h1>hello world!</h1>
Renders: