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.
2 parents 62ed6d3 + 2a7a389 commit b47f2e4Copy full SHA for b47f2e4
packages/shiki/src/highlighter.ts
@@ -124,7 +124,7 @@ export interface Highlighter {
124
lang: StringLiteralUnion<Lang>,
125
options?: ThemedTokenizerOptions
126
): IThemedToken[][]
127
- codeToHtml?(code: string, lang: StringLiteralUnion<Lang>): string
+ codeToHtml(code: string, lang: StringLiteralUnion<Lang>): string
128
129
// codeToRawHtml?(code: string): string
130
// getRawCSS?(): string
0 commit comments