Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
Never ship code samples without color. Or coffee. Add language="js" to <wa-code-highlighter> and it paints the colors with the CSS Custom Highlight API, so your markup stays exactly as you wrote it. 40 languages, plus a copy button.

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

Never ship code samples without color. Or coffee. Add language="js" to <wa-code-highlighter> and it paints the colors with the CSS Custom Highlight API, so your markup stays exactly as you wrote it. 40 languages, plus a copy button.

0 vue Publié le 03/12/2026 17:59 0:06
Never ship code samples without color. Or coffee. Add language="js" to <wa-code-highlighter> and it paints the colors with the CSS Custom Highlight API, so your markup stays exactly as you wrote it. 40 languages, plus a copy button.
1 commentaire
?
Web Awesome @webawesome.com · 03/12/2026 18:00
Get the deets in the docs: webawesome.com/docs/compone...
Code Highlighter
Code highlighters display syntax-highlighted code with a copy button. Use them for code samples, install commands, and configuration snippets.
Web Awesome @webawesome.com · 03/12/2026 18:03
And the markup behind the video...

One element, and language="js" does the highlighting. Every color is a CSS custom property, so B.Y.O.E.T. (bring your own editor theme).
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.