Svelte Rune Highlight
DEMO
Syntax highlighting for Svelte using highlight.js.
This lib is ported from Svelte-Highlight.
Installation
pnpm i -D svelte-rune-highlight highlight.js
Docs
Docs
Highlight component
Highlight
HighlightAuto component
HighlightAuto
HighlightSvelte component
HighlightSvelte
Line numbers
Line numbers
Credit
Svelte-Highlight