Skip to content

Releases: metonym/svelte-highlight

v5.3.2

17 Mar 03:05
Compare
Choose a tag to compare

Documentation

  • specify in docs that vite should optimize both "highlight.js" and "highlight.js/lib/core" if using SvelteKit or vite
# svelte.config.js
export default {
  kit: {
+   vite: {
+     optimizeDeps: {
+       include: ["highlight.js", "highlight.js/lib/core"],
+     },
+   },
  },
};

v5.3.1

17 Mar 02:40
Compare
Choose a tag to compare

Fixes

  • use default highlight.js library for HighlightAuto

v5.3.0

12 Mar 17:05
Compare
Choose a tag to compare

Features

  • upgrade highlight.js to version 11.5.0 (net +1 language, +3 styles)
    • languages: graphql
    • styles: felipec, tokyo-night-dark, tokyo-night-light

v5.2.2

25 Feb 15:20
Compare
Choose a tag to compare

Fixes

  • use default export from highlight.js/lib/core.js

v5.2.1

12 Feb 00:38
Compare
Choose a tag to compare

Fixes

v5.2.0

06 Jan 16:12
Compare
Choose a tag to compare

Features

v5.1.4

18 Dec 15:12
Compare
Choose a tag to compare
  • recommend installing highlight.js as a dependency for pnpm users

v5.1.3

13 Nov 23:14
Compare
Choose a tag to compare
  • patch highlight.js to version 11.3.1

v5.1.2

19 Oct 16:01
Compare
Choose a tag to compare

Fixes

  • move TypeScript definitions components to the src/ folder

v5.1.1

19 Oct 15:48
Compare
Choose a tag to compare

Fixes

  • emit TypeScript definitions for languages and styles to the src/ folder