Adding dynamic syntax highlighting based on the system theme

Hugo Chroma Syntax Highlighting Dark/Light Mode

One of the issues I still had with this blog was that the syntax highlighting for code blocks was static and generated at compile time, whereas the rest of the site changed colors based on the system theme.

I’m glad I fixed it today following the linked article.