-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlang-names.js
87 lines (85 loc) · 2.27 KB
/
lang-names.js
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
// The list was taken from Prism.js language highlight/toolbar plugin
// Modified: Added bash, shell
// Modified: Removed languages that will be guaranteed to never be used
export const langNames = {
none: "Plain text",
plain: "Plain text",
plaintext: "Plain text",
text: "Plain text",
txt: "Plain text",
html: "HTML",
xml: "XML",
svg: "SVG",
mathml: "MathML",
css: "CSS",
clike: "C-like",
js: "JavaScript",
asciidoc: "AsciiDoc",
adoc: "AsciiDoc",
aspnet: "ASP.NET (C#)",
bash: "bash",
csharp: "C#",
cs: "C#",
dotnet: "C#",
cpp: "C++",
cil: "CIL",
"css-extras": "CSS Extras",
dockerfile: "Docker",
editorconfig: "EditorConfig",
fsharp: "F#",
http: "HTTP",
ignore: ".ignore",
gitignore: ".gitignore",
hgignore: ".hgignore",
javadoclike: "JavaDoc-like",
javastacktrace: "Java stack trace",
jsdoc: "JSDoc",
"js-extras": "JS Extras",
json: "JSON",
json5: "JSON5",
jsonp: "JSONP",
jsstacktrace: "JS stack trace",
"js-templates": "JS Templates",
latex: "LaTeX",
tex: "TeX",
context: "ConTeXt",
log: "Log file",
md: "Markdown",
"markup-templating": "Markup templating",
mongodb: "MongoDB",
plsql: "PL/SQL",
powerquery: "PowerQuery",
pq: "PowerQuery",
mscript: "PowerQuery",
powershell: "PowerShell",
properties: ".properties",
qsharp: "Q#",
qs: "Q#",
q: "Q (kdb+ database)",
qml: "QML",
jsx: "React JSX",
tsx: "React TSX",
sh: "Shell",
shell: "Shell",
"shell-session": "Shell session",
"sh-session": "Shell session",
shellsession: "Shell session",
"solution-file": "Solution file",
sln: "Solution file",
sql: "SQL",
iecst: "Structured Text (IEC 61131-3)",
"t4-templating": "T4 templating",
"t4-cs": "T4 Text Templates (C#)",
t4: "T4 Text Templates (C#)",
"t4-vb": "T4 Text Templates (VB)",
tt2: "Template Toolkit 2",
ts: "TypeScript",
tsconfig: "TSConfig",
vbnet: "VB.Net",
"visual-basic": "Visual Basic",
vba: "VBA",
vb: "Visual Basic",
"xml-doc": "XML doc (.net)"
};
// Languages which do not require the label above code block
export const namelessLangs = ["none", "plain", "plaintext", "text", "txt", undefined];