HUGO

Possible to define unsafeHTML in front matter?

According to raw-html-getting-omitted, unsafe renderer could be defined in config.toml as:

[markup.goldmark.renderer]
unsafe = true

However, is it possible to define this in the front matter, so that we could make it different for each post?

only found this - linked to the topic

if it worked for balckfriday, hoe it works for goldmark, try it!

No, it is not possible, and should never be possible. Allowing content creators (those who write and edit markdown files) to override the security model would be self-defeating.