"CSS Custom Highlight API in Hugo for code blocks" The CSS Custom Highlight API ...
Ricard Torres 👨💻 @dev@ricard.social
"CSS Custom Highlight API in Hugo for code blocks"
The CSS Custom Highlight API lets you drop the usual span wrappers from code blocks and still get pretty syntax highlighting. By using microlighter package from @davatron5000 the code renders cleanly with minimal CSS, and you can color scheme themes with the light-dark CSS function...
🔗 https://ricard.dev/css-custom-highlight-api-in-hugo-for-code-blocks/