Skip to content

Commit ead8320

Browse files
committed
feat:支持yaml格式代码
1 parent 5b95ffc commit ead8320

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/languageMapping.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const g_objLanguageMapping: { [key: string]: string } = {
2626
'dart': 'dart', // Dart
2727
'md': 'markdown', // markdown
2828
'json':'json',
29-
'txt': 'text'
29+
'txt': 'text',
30+
'yml':'yaml'
3031
};
3132

3233
/**

0 commit comments

Comments
 (0)