Skip to content

Commit 7ad5840

Browse files
committed
No automatic syntax highlighting for "unknown" languages
1 parent c4b19a0 commit 7ad5840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/md2html/md2html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const md = require('markdown-it')({
3636
'</code></pre>';
3737
}
3838

39-
return '<pre class="highlight '+lang+'" tabindex="0"><code>' + md.utils.escapeHtml(str) + '</code></pre>';
39+
return '<pre class="nohighlight" tabindex="0"><code>' + md.utils.escapeHtml(str) + '</code></pre>';
4040
}
4141
});
4242

0 commit comments

Comments
 (0)