Raw Html Omitted in 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
- Lev Lazinskiy
- Lev Lazinskiy
- Lev Lazinskiy
- SQLite DB Migrations with PRAGMA user_version
- Terminal RSS Reader With Nom
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- No-One Escapes the Permanent Underclass from Fernando Borretti
- Make AI Boring Again from charity.wtf
- The logical destination of LLMs from Andy Bell
- Revised rules of engineering leadership. from Irrational Exuberance
- The circus freaks of open source from Drew DeVault's blog
- Clanker: A Word For The Machine from Armin Ronacher's Thoughts and Writings
- I ran a half-marathon! from gluecko.se
- My Running Tips from Kevin Bell's Blog
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, 2026Pluralistic: 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, 2026I'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, 2026Generated by openring