Curly quotes broken in Goldmark, Hugo

Internet

Hugo 0.60 has switched to using the Goldmark markdown generator. It broke curly quotes and punctuation. It’s a known issue, and persists as of 0.60.1.

The official docs list these as options for your config file to enable support, or you can enable the old default markdown handler. But no combination of the below works:

defaultMarkdownHandler: blackFriday
markup:
  goldmark:
    extensions:
      typeographer: true
  blackFriday:
    angledQuotes: true

So stick with 0.59.1 if punctuation is important to you.

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!