svelte-rune-highlight Svelte Themes

Svelte Rune Highlight

Syntax highlighting for Svelte 5 Runes using highlight.js

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

Top categories

Loading Svelte Themes