▲ Syntax Highlighting using the CSS Custom Highlight API at andreruffert.github.io▼5 up and 1 down, posted by andreruffert 22 days ago 3 comments
MaxArt 22 days ago. link 1 point ▲ ▼I love when modern APIs are used for a versatile dev-friendly thing 👍
andreruffert 22 days ago. link 1 point ▲ ▼👓 <syntax-highlight> element v1.0.0 - A custom element that uses the CSS Custom Highlight API for syntax highlighting. Code highlighting works without modification (no need to wrap each token with a <span> element).