We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6514c8f commit 5e87b65Copy full SHA for 5e87b65
lib/markdown/highlight.js
@@ -17,6 +17,7 @@ module.exports = (str, lang) => {
17
if (!lang) {
18
return wrap(str, 'text')
19
}
20
+ lang = lang.toLowerCase()
21
const rawLang = lang
22
if (lang === 'vue' || lang === 'html') {
23
lang = 'markup'
0 commit comments