Skip to content

Commit 6723efc

Browse files
authored
fix: syntax highlight for yaml (#2958)
1 parent 0988e9f commit 6723efc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config-overrides.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = {
3737
}
3838
config.plugins.push(
3939
new MonacoWebpackPlugin({
40+
languages: ['yaml'],
4041
customLanguages: [
4142
{
4243
label: 'yql',

src/components/SyntaxHighlighter/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ export type Language =
77
| 'javascript'
88
| 'php'
99
| 'python'
10-
| 'yql'
11-
| 'yaml';
10+
| 'yql';

0 commit comments

Comments
 (0)