A question about code highlighting workflows in Zola 0.22.0: I’m using markdown.highlighting.light_theme and dark_theme, which generates static/giallo-light.css and static/giallo-dark.css. I’m toggling them client‑side
based on a theme switch. Two pain points I’ve hit:
- Zola doesn’t overwrite existing
giallo-*.css, so when I change the themes I have to delete those files manually before runningzola build. - If I reference those files in templates with SRI (
get_hash), build fails when they’re missing, so I have to skip SRI.
Is there a recommended workflow (or a more ergonomic way) to regenerate the giallo files and keep SRI? Any best practice or planned changes here would be appreciated. Thanks!