We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7118f7b + d45e754 commit abbd4cbCopy full SHA for abbd4cb
1 file changed
src/lib/enhancers/github/github-common.ts
@@ -21,8 +21,7 @@ function githubHighlighter(code: string, language?: string) {
21
const result = hljs.highlight(code, { language })
22
return result.value
23
} else {
24
- const result = hljs.highlightAuto(code)
25
- return result.value
+ return code
26
}
27
} catch (error) {
28
console.warn('highlight.js highlighting failed:', error)
0 commit comments