diff --git a/CHANGELOG.md b/CHANGELOG.md index 8285f835..a81dbf6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.2.0](https://github.com/metonym/svelte-highlight/releases/tag/v3.2.0) - 2021-08-02 + +**Features** + +- upgrade `highlight.js` to v11.2.0 + ## [3.1.0](https://github.com/metonym/svelte-highlight/releases/tag/v3.1.0) - 2021-07-08 **Features** diff --git a/demo/src/routes/index.svelte b/demo/src/routes/index.svelte index 3727a5da..1defe857 100644 --- a/demo/src/routes/index.svelte +++ b/demo/src/routes/index.svelte @@ -68,7 +68,10 @@

- To use this library with SvelteKit, add "highlight.js/lib/core" to the dependencies for vite to optimize in your + To use this library with SvelteKit, add "highlight.js/lib/core" + to the dependencies for vite to optimize in your svelte.config.js:

diff --git a/demo/src/routes/styles.svelte b/demo/src/routes/styles.svelte index 72e6fe26..10ab74eb 100644 --- a/demo/src/routes/styles.svelte +++ b/demo/src/routes/styles.svelte @@ -16,7 +16,7 @@ let currentLabel = "Injected styles"; let filtered = []; - $: useInjectedStyles = currentLabel === 'Injected styles' + $: useInjectedStyles = currentLabel === "Injected styles";