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 I’m touching up the plugins to get them all in line with the best practices and parameter paradigm I developed along the way. Afterwards, I’ll register them with @manton’s new process.

You can install the prism plugin right now the same way that I do. Go to Design -> Edit Custom Themes -> New Plugin

Name it whatever you like and stick the repository address in https://github.com/moonbuck/plugin-prism. The plugin will be cloned in the exact same manner as through the registered list of plugins.

I believe the README is up to date for the current version. Regardless, it’s what I use for all the syntax highlighting so holler if you end up with questions: the blog post README version

|
Embed
Progress spinner