We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c91f5eb commit 1c074feCopy full SHA for 1c074fe
svelte.config.js
@@ -27,7 +27,7 @@ const config = {
27
},
28
highlight: {
29
highlighter: async (code, lang = "text") => {
30
- const html = escapeSvelte(highlighter.codeToHtml(code, { lang, theme }));
+ const html = escapeSvelte(highlighter.codeToHtml(code, { lang, theme, tabindex: -1 }));
31
return `{@html \`${html}\` }`;
32
33
0 commit comments