---
title: "MicroLighter"
description: "Zero-dependency syntax highlighter using the CSS Custom Highlight API instead of span wrapping; ~2KB gzipped, 30+ languages, 10 themes."
canonical: "https://vibing.inc/library/microlighter-vg-2005"
category: "Dev Utilities & Vibe-Coding Tooling"
subcategory: "Syntax highlighting"
license: "MIT"
author: "Dave Rupert (@davatron5000)"
source: "https://github.com/davatron5000/microlighter"
---

# MicroLighter
Zero-dependency syntax highlighter using the CSS Custom Highlight API instead of span wrapping; ~2KB gzipped, 30+ languages, 10 themes.
## Facts
- Source: https://github.com/davatron5000/microlighter
- Category: Dev Utilities & Vibe-Coding Tooling / Syntax highlighting
- Author: Dave Rupert (@davatron5000)
- Licence: MIT
- Tags: css, syntax-highlighting, zero-dependency, web-component, performance
## Why it's a gem
Clean markup by design — highlights live in CSS, not a thousand nested spans.
---
Listed in The Vibeary: https://vibing.inc/library/microlighter-vg-2005 · JSON: https://vibing.inc/api/public/library/gems/microlighter-vg-2005