Rendering code blocks properly from .md files

blackfriday is f*****

Yep. That’s a nasty bug.

Thanks for that example… I was a surprised that that didn’t work … because … I had tested that to work myself.

Turns out it’s a regression in Hugo v0.55.5; actually a regression in Blackfriday, because the Blackfriday version was bumped when going from v0.55.4 -> v0.55.5.

See:

The temporary “fix” is to switch back to using Hugo v0.55.4 to avoid this particular bug.

Hopefully Hugo reverts the Blackfriday version until this gets fixed there.


Issues opened:

Update: This issue is fixed in Hugo master branch ( d6ca728f ).

1 Like

Where to ask for a new build for the docker image ‘monachus/hugo’ ?

At the end, to make my stuff working properly, I had to fork this repo https://github.com/oskapt/docker-hugo , downgrade hugo version to v0.55.4, and create another docker image https://hub.docker.com/r/freethebit/hugo , and modify my gitlab-ci.yml to the image freethebit/hugo as a temporary fix.