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 10c056c commit 9fcb584Copy full SHA for 9fcb584
exampleVault/index.md
@@ -139,4 +139,12 @@ int main() {
139
std::cout << "Hello World!";
140
return 0;
141
}
142
+```
143
+
144
+```SQL
145
+SELECT
146
+ department,
147
+ MAX(salary) AS maximum_salary
148
+FROM employees
149
+GROUP BY department;
150
```
src/codemirror/Cm6_ViewPlugin.ts
@@ -243,7 +243,7 @@ export function createCm6Plugin(plugin: ShikiPlugin) {
243
return [];
244
245
246
- const highlight = await plugin.highlighter.getHighlightTokens(content, language);
+ const highlight = await plugin.highlighter.getHighlightTokens(content, language.toLowerCase());
247
248
if (!highlight) {
249
0 commit comments