You can now create custom hook templates for code blocks, either one for all (`render-codeblock.html`) or for a given code language (e.g. `render-codeblock-go.html`).
We also used this new hook to add support for diagrams in Hugo:
* Goat (Go ASCII Tool) is built-in and enabled by default; just create a fenced code block with the language `goat` and start draw your Ascii diagrams.
* Another popular alternative for diagrams in Markdown, Mermaid (supported by GitHub), can also be implemented with a simple template. See the Hugo documentation for more information.
Updates #7765Closes#9538Fixes#9553Fixes#8520Fixes#6702Fixes#9558
Safari has a bug for not showing transparent background when isn't in rgba. For unknown reasons, using commit d28cf15e1d and 'hugo server', the search field is displayed corectly, but after deployment, isn't anymore. For this reasons I've added the background-color property separately and in rgba.
The code sample box in Hugo code samples expanded on mouse over to 100vw which went over the sidebar toc. This solution solves this looking better and expanding only over the middle column.