Are you using Hugo the static site generator?

Is your markdown not allowing custom html, like you might be used to from other contexts: Markdown is usually a superset of html after all.

“For any markup that is not covered by Markdown’s syntax, you simply use HTML itself”.

Sometimes however, Hugo’s markdown renderer seems to ship in a safe mode, where you suppsedly can take input from users you don’t trust and safely render it on your site.

If you trust yourself not to break your own site it can be useful to undo that default, like so in config.toml:

[markup.goldmark.renderer]
unsafe = true

Now you should be able to add any HTML tags you like!




sponsor

Need private photo sharing that's not tied up in the social media circus? Photoroll is a good way to share photos with your clients.
Or privately gather media from participants of weddings and other small to medium-sized events.