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

@sod @manton @matti I’ve head great success with mine as well (just gotta jump through some hoops when the code is Hugo code): plugin-prism. It also loads various prism plugins (so you can have a code copy button, for example).

You can see it in action via the walkthrough I’ve been working on.

You can find a bunch more by entering README into my site’s search box.

|
Embed
Progress spinner