We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840c0a7 commit e5f9b72Copy full SHA for e5f9b72
packages/carta-md/src/lib/internal/highlight.ts
@@ -394,7 +394,8 @@ export async function loadHighlighter(options: HighlighterOptions): Promise<High
394
// Single theme
395
return manager.shikiHighlighter.codeToHtml(code, {
396
lang: langHash,
397
- theme: themeHash as string
+ theme: themeHash as string,
398
+ tabindex: -1
399
});
400
} else {
401
// Dual theme
@@ -403,7 +404,8 @@ export async function loadHighlighter(options: HighlighterOptions): Promise<High
403
404
themes: {
405
light: (themeHash as { light: string; dark: string }).light as string,
406
dark: (themeHash as { light: string; dark: string }).dark as string
- }
407
+ },
408
409
410
}
411
},
0 commit comments