Journo
1
Basically title, there seems to be alot of ways of doing this, no real working way though.
ive tried shortcodes but that quickly got complicated fast
i tried to enable html in the post.md files but that doesnt work, the video just doesnt show up on the website.
my post.md
<video src="a.mp4" controls></video>
/home/ASIDoijfwrnv/9/static/a.mp
iaeiou
2
Journo
4
shortcode: template for shortcode "video" not found
``i cannot stop getting this error
iaeiou
5
When posting code, data, configs, etc. on this forum, please place the code in a fenced code block, e.g.,
```html
<div class="example">foo</div>
```
Or use the </>
button in the menu. I’ve corrected your initial post.
If you want to mix raw HTML with your markdown, include this in your site configuration:
hugo.toml
[markup.goldmark.renderer]
unsafe = true
It’s not unsafe if you control the content.