Tool Open source
MicroLighter is a tiny, dependency-free browser syntax highlighter developed by davatron5000. It uses TextMate grammars and the CSS Custom Highlight API to highlight code without wrapping each token in a span, keeping the DOM clean and code blocks editable. It provides programmatic and automatic highlighting APIs, an optional <micro-lighter> web component, on-demand support for 35 languages, and 10 bundled themes. It can be installed from npm or loaded from a CDN.
1 use taken from transcripts — each links to the moment in the video.
A dependency-free browser syntax highlighter that keeps code editable. It uses TextMate grammars and the CSS Custom Highlight API instead of wrapping tokens in spans.
1 in the library.