Releases: metonym/svelte-highlight
Releases · metonym/svelte-highlight
v7.4.2
Fixes
- Re-publish package to NPM with provenance
v7.4.1
v7.4.0
v7.3.0
v7.2.1
v7.2.0
v7.1.2
v7.1.1
v7.0.1
v7.0.0
Breaking Changes
- rename langtag style props (4b84dac, #253)
--hljs-background
->--langtag-background
--hljs-foreground
->--langtag-color
--hljs-radius
->--langtag-border-radius
- mark
code
,language
as required props (86acf4c, #218)
Features
- include inferred
language
inon:highlight
event detail inHighlightAuto
(2c82ca3, #252) - add
LineNumbers
component to support rendering line numbers (82f9366, #248) - upgrade
highlight.js
to version 11.7.0 (d463d9b, #245)
Fixes
- use
HTMLAttributes
fromsvelte/elements
to correctly type$$restProps
(076b2b4)