Using Shiki Syntax Highlighting in Hugo
Read OriginalThis article details a developer's process for replacing Hugo's default syntax highlighter with Shiki. It explains how to disable Hugo's built-in highlighting, create a Node.js script using Shiki and node-html-parser to transform HTML output, and integrate this script into a CI/CD pipeline (like GitHub Actions) for automated post-processing.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser