Skip to content

v7.0.0

Compare
Choose a tag to compare
@metonym metonym released this 30 Dec 21:27
· 213 commits to master since this release

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 in on:highlight event detail in HighlightAuto (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 from svelte/elements to correctly type $$restProps (076b2b4)