Curly quote fix coming for Hugo 0.6x


Last December I mentioned that the Hugo static site generator broke curly quotes in the latest 0.6x branch, which meant I had to hold back on 0.5x for Clara’s and my sites. jkboxomine on the Hugo forums noticed on Sunday that a fix by flother has been merged:

This is the first version of Goldmark that supports all the Smartypants-style typographic punctuation transformations. Now, a straight single quote in the middle of a word is translated into a curly quote. Earlier versions leave them untouched. This brings Goldmark in line with Blackfriday.

This references Yuin’s recent work adding support for this in Goldmark. Good job all, I’m keen to give this a try as soon as it’s available :).

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

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

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.