▲ Syntax Highlighting using the CSS Custom Highlight API at andreruffert.github.io▼3 up and 0 down, posted by andreruffert 2 days ago 2 comments
MaxArt 2 days ago. link 1 point ▲ ▼I love when modern APIs are used for a versatile dev-friendly thing 👍
andreruffert 2 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).