Daily Shaarli

All links of one day in a single page.

July 23, 2026

How I manage running multiple products of ~$18K/mo total revenue - Indie Hackers
On a déjà perdu — n.survol.fr

Une vision pessimiste puisque la surveillance est de plus en plus possible.

Syntax Highlighting: No Extra HTML for Code Blocks via Custom Highlights API and syntaxp · Jens Oliver Meiert

A 16KB alternative to Prism and highlight.js: https://github.com/j9t/syntaxp

How It Works

  • Finds all <code> elements with a class=language-* attribute
  • Tokenizes the text content using regex-based per-language tokenizers
  • Creates StaticRange objects for each token
  • Registers them as Highlight objects in CSS.highlights
  • Styles them via ::highlight() CSS rules