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.
1 parent e8697d4 commit d3be57cCopy full SHA for d3be57c
codedrop.js
@@ -95,7 +95,7 @@ function getFileLang(src) {
95
} /*]*/ ;
96
97
src = src.replaceAll('\n', '');
98
- const extension = (/\.(\w+)$/.exec(src) || [, 'plain'])[1];
+ const extension = (/\.(\w+)$/.exec(src) || [, 'none'])[1];
99
return lang_aliases[extension] || extension;
100
101
}
0 commit comments