diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b803926..be27a83 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -28,7 +28,7 @@
+ >
diff --git a/svelte.config.js b/svelte.config.js index 8c0bf2f..5dffa63 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -14,7 +14,18 @@ const config = { highlight: { async highlighter(code, lang) { const highlighter = await shiki.getHighlighter({ - theme: 'nord' + theme: 'nord', + langs: [ + 'javascript', + 'typescript', + 'svelte', + 'html', + 'css', + 'json', + 'markdown', + 'bash', + 'yaml' + ] }); return highlighter.codeToHtml(code, { lang }); }