Skip to content

Releases: metonym/svelte-highlight

v7.4.2

25 Nov 16:46
Compare
Choose a tag to compare

Fixes

v7.4.1

13 Oct 15:51
Compare
Choose a tag to compare

Fixes

  • Re-publish package after correctly building it

From version 7.4.0:

Features

  • upgrade highlight.js to version 11.9.0

v7.4.0

13 Oct 15:47
Compare
Choose a tag to compare

⚠️ Deprecated due to a bad publish. Please use version 7.4.1

Features

  • upgrade highlight.js to version 11.9.0

v7.3.0

13 May 17:40
Compare
Choose a tag to compare

Features

  • upgrade highlight.js to version 11.8.0

v7.2.1

01 Apr 17:43
Compare
Choose a tag to compare

Fixes

  • line numbers should not be covered by a solid fill, custom line background color (efd6750, #271)
  • line numbers column should not be covered by code if scrollable (efd6750, #271)

v7.2.0

14 Feb 23:11
Compare
Choose a tag to compare

Features

  • support highlighted lines in LineNumbers through the highlightedLines prop (48c580d, #266)

v7.1.2

01 Jan 20:05
Compare
Choose a tag to compare

Fixes

  • correctly set top/bottom padding in LineNumbers if code is updated (5da30c8, #260)

v7.1.1

01 Jan 02:52
Compare
Choose a tag to compare

Features

v7.0.1

30 Dec 21:27
Compare
Choose a tag to compare

Fixes

v7.0.0

30 Dec 21:27
Compare
Choose a tag to compare

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)