🪝 Render Hooks
Render hooks override existing markdown rendering in Hugo
- 🧮
Math
🔗 MathJax scientific notation
- 🧜♀️
Mermaid
🔗 Convert text to diagrams
- 📝
Note
🔗 Github style notes
- 🎯
Objectives
🔗 Assign learning objectives via render hook
- 📓
Runkit
🔗 Embed a Runkit notebook
https://gohugo.io/render-hooks/introduction/
For our purposes, the useful feature is that you can hook into codefences with an arbitrary string, and then use that string to render custom HTML. After the three ticks, you can add any string and Hugo will invoke a partial with that name stored in layouts/render-hooks.