Raw Html Omitted in Hugo

| web | hugo |

I am still new to hugo and learning all the kinks. A couple days ago I found my old blog from 2008-2012 and fell into a nostalgia hole. Now I am trying to migrate and consolidate everything over to here to make the “one blog to rule them all”.

One thing that is different in hugo compared to some of the other static site generators that I have used is that it does not allow raw HTML in markdown files. I found some various posts on how to get this working properly, but I found one simple approach to be to write those posts in html instead. This has allowed me to embed youtube videos into my old posts like this.

The officially recommended method is to add this to your hugo.toml file:

[markup.goldmark.renderer]
unsafe= true

Something about adding unsafe=true feels wrong to me though. Weather or not the world needs an archive of my early 20s musings is a whole other matter that I’ll save for another post.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Om Malik 1966-2026

(Note: This is a special edition of The Torment Nexus, dedicated to my friend Om Malik, who passed away due to congestive heart failure at the age of 59. I wrote this on my blog, but I thought some people who subscribe might also be interested. If you aren...

via The Torment Nexus June 27, 2026

Pluralistic: Zuckerberg's increasingly bizarre war on whistleblowers (27 Jun 2026)

Today's links Zuckerberg's increasingly bizarre war on whistleblowers: Under no circumstances should you rush out and read the book that prompted Mark Zuckerberg to demand $111m and eternal auctorial silence. Hey look at this: Delights to delectate. Object...

via Pluralistic: Daily links from Cory Doctorow June 27, 2026

I'm in bed, I have the windows wide open, and the fan on full blast, and I'm actually starting to feel cold. I'm very glad we're finally reaching the end of this heatwave.

via Chris Hannah June 27, 2026

Generated by openring