Raw HTML Omitted in templates

The <!-- raw HTML omitted --> HTML comment is generated by Goldmark when it renders markdown to HTML. By default it considers HTML mixed with markdown unsafe.

To change the default behavior:

[markup.goldmark.renderer]
unsafe = true

It’s not unsafe if you control the content.

But I wonder if you really need to pass whatever you’re doing through either of those functions.