Releases: metonym/svelte-highlight
Releases · metonym/svelte-highlight
v5.3.2
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
v5.3.0
v5.2.2
v5.2.1
Fixes
- remove whitespace from
pre
tags because Svelte v3.46.4 now preservespre
whitespace by default
v5.2.0
Features
- upgrade
highlight.js
to version 11.4.0 (net +1 style)