aboutsummaryrefslogtreecommitdiff
path: root/src/util/hljs-languages.js
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-05-23 21:53:08 +0200
committerHampusM <hampus@hampusmat.com>2021-05-23 21:53:08 +0200
commitb183160763955596dbdf179524b75fc10ab2a03c (patch)
tree870a0c6fb1a61af8fc08a4c0be435f98ccfa1ed8 /src/util/hljs-languages.js
parent7e828a5eb04afe476e596cf88000e53c2f93f45e (diff)
Frontend used Vue.js & Added ESLint
Diffstat (limited to 'src/util/hljs-languages.js')
-rw-r--r--src/util/hljs-languages.js45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/util/hljs-languages.js b/src/util/hljs-languages.js
new file mode 100644
index 0000000..c8576e0
--- /dev/null
+++ b/src/util/hljs-languages.js
@@ -0,0 +1,45 @@
+const languages = [
+ { "name": "arduino", "extensions": [ ".ino" ]},
+ { "name": "actionscript", "extensions": [ ".as" ]},
+ { "name": "bash", "extensions": [ ".sh", ".zsh" ]},
+ { "name": "csharp", "extensions": [ ".cs" ]},
+ { "name": "c", "extensions": [ ".c", ".h" ]},
+ { "name": "cpp", "extensions": [ ".cpp", ".hpp" ]},
+ { "name": "cmake", "extensions": [ "cmake.in" ]},
+ { "name": "css", "extensions": [ ".css" ]},
+ { "name": "d", "extensions": [ ".d" ]},
+ { "name": "dos", "extensions": [ ".bat", ".cmd" ]},
+ { "name": "dockerfile", "extensions": [ "dockerfile", "Dockerfile" ]},
+ { "name": "go", "extensions": [ ".go" ]},
+ { "name": "gradle", "extensions": [ ".gradle" ]},
+ { "name": "xml", "extensions": [ ".xml", ".html", ".xhtml", ".rss", ".atom", ".xjb", ".xsd", ".xsl", ".plist", ".svg" ]},
+ { "name": "haskell", "extensions": [ ".hs" ]},
+ { "name": "ini", "extensions": [ ".ini", ".toml" ]},
+ { "name": "json", "extensions": [ ".json" ]},
+ { "name": "java", "extensions": [ ".java", ".jsp" ]},
+ { "name": "javascript", "extensions": [ ".js", ".jsx" ]},
+ { "name": "kotlin", "extensions": [ ".kt" ]},
+ { "name": "lua", "extensions": [ ".lua" ]},
+ { "name": "makefile", "extensions": [ "makefile", "Makefile" ]},
+ { "name": "markdown", "extensions": [ ".md" ]},
+ { "name": "objectivec", "extensions": [ ".m", ".mm", ".M" ]},
+ { "name": "php", "extensions": [ ".php" ]},
+ { "name": "perl", "extensions": [ ".pl", ".pm" ]},
+ { "name": "plaintext", "extensions": [ ".txt" ]},
+ { "name": "pgsql", "extensions": [ ".pgsql" ]},
+ { "name": "powershell", "extensions": [ ".ps", ".ps1" ]},
+ { "name": "python", "extensions": [ ".py" ]},
+ { "name": "ruby", "extensions": [ ".rb" ]},
+ { "name": "rust", "extensions": [ ".rs" ]},
+ { "name": "scss", "extensions": [ ".scss" ]},
+ { "name": "sql", "extensions": [ ".sql" ]},
+ { "name": "swift", "extensions": [ ".swift" ]},
+ { "name": "typescript", "extensions": [ ".ts" ]},
+ { "name": "vbnet", "extensions": [ ".vb" ]},
+ { "name": "vba", "extensions": [ ".vba" ]},
+ { "name": "vbscript", "extensions": [ ".vbs" ]},
+ { "name": "vim", "extensions": [ ".vim" ]},
+ { "name": "yml", "extensions": [ ".yml" ]}
+];
+
+export default languages; \ No newline at end of file