-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathlanguageInfo.ts
95 lines (95 loc) · 1.73 KB
/
languageInfo.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
export default {
javascript: {
label: 'JavaScript',
syntaxHighlighterKey: 'javascript',
},
react: {
label: 'React',
syntaxHighlighterKey: 'javascript',
},
java: {
label: 'Java',
syntaxHighlighterKey: 'java',
},
ruby: {
label: 'Ruby',
syntaxHighlighterKey: 'ruby',
},
python: {
label: 'Python',
syntaxHighlighterKey: 'python',
},
php: {
label: 'PHP',
syntaxHighlighterKey: 'php',
},
shell: {
label: 'Shell',
syntaxHighlighterKey: 'bash',
},
csharp: {
label: 'C# .NET',
syntaxHighlighterKey: 'csharp',
},
go: {
label: 'Go',
syntaxHighlighterKey: 'go',
},
html: {
label: 'HTML',
syntaxHighlighterKey: 'xml',
},
cpp: {
label: 'C++',
syntaxHighlighterKey: 'cpp',
},
dart: {
label: 'Dart',
syntaxHighlighterKey: 'dart',
},
swift: {
label: 'Swift',
syntaxHighlighterKey: 'swift',
},
objc: {
label: 'Objective-C',
syntaxHighlighterKey: 'objc',
alias: 'objectivec',
},
nodejs: {
label: 'Node.js',
syntaxHighlighterKey: 'javascript',
},
json: {
label: 'JSON',
syntaxHighlighterKey: 'json',
},
xml: {
label: 'XML',
syntaxHighlighterKey: 'xml',
},
sql: {
label: 'SQL',
syntaxHighlighterKey: 'sql',
},
android: {
label: 'Android',
syntaxHighlighterKey: 'java',
},
flutter: {
label: 'Flutter',
syntaxHighlighterKey: 'dart',
},
kotlin: {
label: 'Kotlin',
syntaxHighlighterKey: 'kotlin',
},
realtime: {
label: 'Realtime',
syntaxHighlighterKey: 'javascript',
},
rest: {
label: 'REST',
syntaxHighlighterKey: 'javascript',
},
} as Record<string, { label: string; syntaxHighlighterKey: string; alias?: string }>;