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)