Highlighting Hugo Code Fragments with Prism
Adding the Prism.js code highlighting library to a Hugo site is easy.
First goto Prism.js Download and select the code types that are in need of highlighting plus any other options that are needed.
Adding the Prism.js code highlighting library to a Hugo site is easy.
First goto Prism.js Download and select the code types that are in need of highlighting plus any other options that are needed.
Some functionality that is normal for a blog is not provided out of the box with Hugo. Things like a contact form or comments have to be added or tacked on from a third party. Fortunately, Hugo will allow us to insert custom HTML, CSS, and JavaScript into the site to allow for this. We can add this functionality at the page level or at the site level through modifying the templates.
This is just a brief summary of setting up a Hugo site. It details the specific steps for creating an initial site.