Skip to content

Commit ab49480

Browse files
committed
Disable language detection by default
1 parent fdfb975 commit ab49480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function normalize(lang) {
1717
}
1818

1919
function highlight(lang, code) {
20-
if(!lang) return hljs.highlightAuto(code);
20+
if(!lang) return code;
2121

2222
// Normalize lang
2323
lang = normalize(lang);

0 commit comments

Comments
 (0)