| |
The author created MicroLighter, a lightweight (~2kb) client-side syntax highlighter that uses the CSS Custom Highlights API instead of DOM manipulation, leveraging Textmate's language grammars for broad language support. Built to replace broken syntax highlighting on their Jekyll blog, the tool loads language grammars on-demand, uses human-readable light-dark() themes, and delegates non-highlighting features like line numbers to a separate web component for cleaner separation of concerns.
Read Full Article →
← More Tech news