matti
matti

@help What is the proper way to enable syntax highlighting in my blog? I found this and this in the help forum, but it seems rather bothersome for such a basic functionality, especially since hugo supports syntax highlighting now. Can I hope for a hugo update anytime soon?

|
Embed
Progress spinner
In reply to
Moondeer
Moondeer

@matti The Hugo parser is constantly getting in the way. To go around it I’ve had to do thinks like the shortcode (cause then whatever is inside doesn’t get parsed again) and in other cases I literally have to parse and correct the content with regular expressions. Nothing has made appreciate what I had with Swift than d$cking around with Hugo and Javascript

|
Embed
Progress spinner