A zero-dep syntax highlighter that uses the CSS Highlights API
-
Updated
Sep 11, 2026 - JavaScript
A zero-dep syntax highlighter that uses the CSS Highlights API
penciled.js: a 15 kB open-source JavaScript library for persistent text highlights and notes on any web page. Built on the CSS Custom Highlight API.
A black hole that eats any website.
Highlight text without touching the DOM
Highlight words, keywords and search terms without span or mark tags, using the CSS Custom Highlight API. Zero dependencies, TypeScript.
Chrome extension that spots code hidden in ordinary web text — commands, snippets, file names, SQL — and highlights it on any website, even without <code> tags. 100% local, no tracking, never modifies the page.
Highlight the words that matter on every page: lists for each site, every match in one panel, and what's new since you last looked.
Every website is a memecoin now. Launch any page as a coin, buy its words, pull the rug, Esc refunds. A parody: nothing leaves your browser.
react-pdf에서 보이는 쪽만 그릴 때, 텍스트 레이어에 기대지 않고 문서 전체를 찾는 최소 예제 (getTextContent 색인 + CSS Custom Highlight API)
To associate your repository with the css-highlight-api topic, visit your repo's landing page and select "manage topics."