I noticed Mintlify switched from Highlight.js to Shiki for syntax highlighting.
I had hoped they would fix their Vue.js syntax highlighting issue, and Shiki did exactly that. Highlight.js often struggled with Vue-specific code blocks, but Shiki handles them well out of the box.
If you’ve run into similar issues, Shiki on GitHub is worth a look. I’m keeping my eye on it and plan to reach for it the next time I need syntax highlighting.
Leave a Reply