A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: generate code languages in build step
Abdullah Atta7dbcea2663d6
diff --git a/packages/editor/.gitignore b/packages/editor/.gitignoreindex af7bbe5ac..a2a5f8ee6 100644--- a/packages/editor/.gitignore+++ b/packages/editor/.gitignore@@ -1,3 +1,4 @@node_modules/*.tsbuildinfo-dist\ No newline at end of file+dist+languages/\ No newline at end of filediff --git a/packages/editor/package-lock.json b/packages/editor/package-lock.jsonindex cee064991..d686fbcb8 100644--- a/packages/editor/package-lock.json+++ b/packages/editor/package-lock.json@@ -47,7 +47,7 @@"react-colorful": "^5.5.1","react-modal": "^3.15.1","redent": "^4.0.0",- "refractor": "^4.7.0",+ "refractor": "^4.8.0","strip-indent": "^4.0.0","tinycolor2": "^1.4.2","unfurl.js": "^5.7.0",diff --git a/packages/editor/package.json b/packages/editor/package.jsonindex dc0e42e84..1f2e53e3d 100644--- a/packages/editor/package.json+++ b/packages/editor/package.json@@ -47,7 +47,7 @@"react-colorful": "^5.5.1","react-modal": "^3.15.1","redent": "^4.0.0",- "refractor": "^4.7.0",+ "refractor": "^4.8.0","strip-indent": "^4.0.0","tinycolor2": "^1.4.2","unfurl.js": "^5.7.0",diff --git a/packages/editor/scripts/build.mjs b/packages/editor/scripts/build.mjsindex 20968fbcc..e9159b620 100755--- a/packages/editor/scripts/build.mjs+++ b/packages/editor/scripts/build.mjs@@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/import "zx/globals";+import { langen } from "./langen.mjs";const ROOT_DIR = path.resolve(path.join(__dirname, ".."));@@ -37,4 +38,11 @@ for (const name in pathsToCopy) {});}+const languagesList = await langen(ROOT_DIR, path.join(ROOT_DIR, "languages"));++fs.writeFileSync(+ path.join(ROOT_DIR, "src", "extensions", "code-block", "languages.json"),+ JSON.stringify(languagesList)+);+await $`cd ${ROOT_DIR} && npx tsc ${process.argv.slice(3)}`;diff --git a/packages/editor/scripts/langen.js b/packages/editor/scripts/langen.mjssimilarity index 74%rename from packages/editor/scripts/langen.jsrename to packages/editor/scripts/langen.mjsindex 7b35a2ef3..05c0d8428 100644--- a/packages/editor/scripts/langen.js+++ b/packages/editor/scripts/langen.mjs@@ -23,16 +23,32 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.*/require("isomorphic-fetch");-async function main() {+export async function langen(rootDirectory, saveDirectory) {+ if (process.env.CI) return;+const response = await fetch("https://github.com/PrismJS/prism/raw/master/components.json");if (!response.ok) return;++ if (!fs.existsSync(saveDirectory))+ fs.mkdirSync(saveDirectory, { recursive: true });+const json = await response.json();let output = [];for (const key in json.languages) {if (key === "meta") continue;const language = json.languages[key];++ const languagePath = path.join(+ rootDirectory,+ "node_modules",+ "refractor",+ "lang",+ `${key}.js`+ );+ if (!fs.existsSync(languagePath)) continue;+output.push({filename: key,title: language.title,@@ -42,7 +58,10 @@ async function main() {: [language.alias]: undefined});++ fs.copyFileSync(languagePath, path.join(saveDirectory, `${key}.js`));}- console.log(JSON.stringify(output));++ return output;}-main();+// main();diff --git a/packages/editor/src/extensions/code-block/languages.json b/packages/editor/src/extensions/code-block/languages.jsonindex 99d4e3289..644f62e91 100644--- a/packages/editor/src/extensions/code-block/languages.json+++ b/packages/editor/src/extensions/code-block/languages.json@@ -1,357 +1 @@-[- {- "filename": "markup",- "title": "Markup",- "alias": ["html", "xml", "svg", "mathml", "ssml", "atom", "rss"]- },- { "filename": "css", "title": "CSS" },- { "filename": "clike", "title": "C-like" },- { "filename": "javascript", "title": "JavaScript", "alias": ["js"] },- { "filename": "abap", "title": "ABAP" },- { "filename": "abnf", "title": "ABNF" },- { "filename": "actionscript", "title": "ActionScript" },- { "filename": "ada", "title": "Ada" },- { "filename": "agda", "title": "Agda" },- { "filename": "al", "title": "AL" },- { "filename": "antlr4", "title": "ANTLR4", "alias": ["g4"] },- { "filename": "apacheconf", "title": "Apache Configuration" },- { "filename": "apex", "title": "Apex" },- { "filename": "apl", "title": "APL" },- { "filename": "applescript", "title": "AppleScript" },- { "filename": "aql", "title": "AQL" },- { "filename": "arduino", "title": "Arduino", "alias": ["ino"] },- { "filename": "arff", "title": "ARFF" },- { "filename": "armasm", "title": "ARM Assembly", "alias": ["arm-asm"] },- { "filename": "arturo", "title": "Arturo", "alias": ["art"] },- { "filename": "asciidoc", "title": "AsciiDoc", "alias": ["adoc"] },- { "filename": "aspnet", "title": "ASP.NET (C#)" },- { "filename": "asm6502", "title": "6502 Assembly" },- { "filename": "asmatmel", "title": "Atmel AVR Assembly" },- { "filename": "autohotkey", "title": "AutoHotkey" },- { "filename": "autoit", "title": "AutoIt" },- { "filename": "avisynth", "title": "AviSynth", "alias": ["avs"] },- { "filename": "avro-idl", "title": "Avro IDL", "alias": ["avdl"] },- { "filename": "awk", "title": "AWK", "alias": ["gawk"] },- { "filename": "bash", "title": "Bash", "alias": ["shell"] },- { "filename": "basic", "title": "BASIC" },- { "filename": "batch", "title": "Batch" },- { "filename": "bbcode", "title": "BBcode", "alias": ["shortcode"] },- { "filename": "bicep", "title": "Bicep" },- { "filename": "birb", "title": "Birb" },- { "filename": "bison", "title": "Bison" },- { "filename": "bnf", "title": "BNF", "alias": ["rbnf"] },- { "filename": "brainfuck", "title": "Brainfuck" },- { "filename": "brightscript", "title": "BrightScript" },- { "filename": "bro", "title": "Bro" },- { "filename": "bsl", "title": "BSL (1C:Enterprise)", "alias": ["oscript"] },- { "filename": "c", "title": "C" },- { "filename": "csharp", "title": "C#", "alias": ["cs", "dotnet"] },- { "filename": "cpp", "title": "C++" },- { "filename": "cfscript", "title": "CFScript", "alias": ["cfc"] },- { "filename": "chaiscript", "title": "ChaiScript" },- { "filename": "cil", "title": "CIL" },- { "filename": "clojure", "title": "Clojure" },- { "filename": "cmake", "title": "CMake" },- { "filename": "cobol", "title": "COBOL" },- { "filename": "coffeescript", "title": "CoffeeScript", "alias": ["coffee"] },- { "filename": "concurnas", "title": "Concurnas", "alias": ["conc"] },- { "filename": "csp", "title": "Content-Security-Policy" },- { "filename": "cooklang", "title": "Cooklang" },- { "filename": "coq", "title": "Coq" },- { "filename": "crystal", "title": "Crystal" },- { "filename": "css-extras", "title": "CSS Extras" },- { "filename": "csv", "title": "CSV" },- { "filename": "cue", "title": "CUE" },- { "filename": "cypher", "title": "Cypher" },- { "filename": "d", "title": "D" },- { "filename": "dart", "title": "Dart" },- { "filename": "dataweave", "title": "DataWeave" },- { "filename": "dax", "title": "DAX" },- { "filename": "dhall", "title": "Dhall" },- { "filename": "diff", "title": "Diff" },- { "filename": "django", "title": "Django/Jinja2", "alias": ["jinja2"] },- {- "filename": "dns-zone-file",- "title": "DNS zone file",- "alias": ["dns-zone"]- },- { "filename": "docker", "title": "Docker", "alias": ["dockerfile"] },- { "filename": "dot", "title": "DOT (Graphviz)", "alias": ["gv"] },- { "filename": "ebnf", "title": "EBNF" },- { "filename": "editorconfig", "title": "EditorConfig" },- { "filename": "eiffel", "title": "Eiffel" },- { "filename": "ejs", "title": "EJS", "alias": ["eta"] },- { "filename": "elixir", "title": "Elixir" },- { "filename": "elm", "title": "Elm" },- { "filename": "etlua", "title": "Embedded Lua templating" },- { "filename": "erb", "title": "ERB" },- { "filename": "erlang", "title": "Erlang" },- {- "filename": "excel-formula",- "title": "Excel Formula",- "alias": ["xlsx", "xls"]- },- { "filename": "fsharp", "title": "F#" },- { "filename": "factor", "title": "Factor" },- { "filename": "false", "title": "False" },- {- "filename": "firestore-security-rules",- "title": "Firestore security rules"- },- { "filename": "flow", "title": "Flow" },- { "filename": "fortran", "title": "Fortran" },- { "filename": "ftl", "title": "FreeMarker Template Language" },- {- "filename": "gml",- "title": "GameMaker Language",- "alias": ["gamemakerlanguage"]- },- { "filename": "gap", "title": "GAP (CAS)" },- { "filename": "gcode", "title": "G-code" },- { "filename": "gdscript", "title": "GDScript" },- { "filename": "gedcom", "title": "GEDCOM" },- { "filename": "gettext", "title": "gettext", "alias": ["po"] },- { "filename": "gherkin", "title": "Gherkin" },- { "filename": "git", "title": "Git" },- { "filename": "glsl", "title": "GLSL" },- { "filename": "gn", "title": "GN", "alias": ["gni"] },- {- "filename": "linker-script",- "title": "GNU Linker Script",- "alias": ["ld"]- },- { "filename": "go", "title": "Go" },- { "filename": "go-module", "title": "Go module", "alias": ["go-mod"] },- { "filename": "gradle", "title": "Gradle" },- { "filename": "graphql", "title": "GraphQL" },- { "filename": "groovy", "title": "Groovy" },- { "filename": "haml", "title": "Haml" },- {- "filename": "handlebars",- "title": "Handlebars",- "alias": ["hbs", "mustache"]- },- { "filename": "haskell", "title": "Haskell", "alias": ["hs"] },- { "filename": "haxe", "title": "Haxe" },- { "filename": "hcl", "title": "HCL" },- { "filename": "hlsl", "title": "HLSL" },- { "filename": "hoon", "title": "Hoon" },- { "filename": "http", "title": "HTTP" },- { "filename": "hpkp", "title": "HTTP Public-Key-Pins" },- { "filename": "hsts", "title": "HTTP Strict-Transport-Security" },- { "filename": "ichigojam", "title": "IchigoJam" },- { "filename": "icon", "title": "Icon" },- { "filename": "icu-message-format", "title": "ICU Message Format" },- { "filename": "idris", "title": "Idris", "alias": ["idr"] },- {- "filename": "ignore",- "title": ".ignore",- "alias": ["gitignore", "hgignore", "npmignore"]- },- { "filename": "inform7", "title": "Inform 7" },- { "filename": "ini", "title": "Ini" },- { "filename": "io", "title": "Io" },- { "filename": "j", "title": "J" },- { "filename": "java", "title": "Java" },- { "filename": "javadoc", "title": "JavaDoc" },- { "filename": "javadoclike", "title": "JavaDoc-like" },- { "filename": "javastacktrace", "title": "Java stack trace" },- { "filename": "jexl", "title": "Jexl" },- { "filename": "jolie", "title": "Jolie" },- { "filename": "jq", "title": "JQ" },- { "filename": "jsdoc", "title": "JSDoc" },- { "filename": "js-extras", "title": "JS Extras" },- { "filename": "json", "title": "JSON", "alias": ["webmanifest"] },- { "filename": "json5", "title": "JSON5" },- { "filename": "jsonp", "title": "JSONP" },- { "filename": "jsstacktrace", "title": "JS stack trace" },- { "filename": "js-templates", "title": "JS Templates" },- { "filename": "julia", "title": "Julia" },- { "filename": "keepalived", "title": "Keepalived Configure" },- { "filename": "keyman", "title": "Keyman" },- { "filename": "kotlin", "title": "Kotlin", "alias": ["kt", "kts"] },- { "filename": "kumir", "title": "KuMir (КуМир)", "alias": ["kum"] },- { "filename": "kusto", "title": "Kusto" },- { "filename": "latex", "title": "LaTeX", "alias": ["tex", "context"] },- { "filename": "latte", "title": "Latte" },- { "filename": "less", "title": "Less" },- { "filename": "lilypond", "title": "LilyPond", "alias": ["ly"] },- { "filename": "liquid", "title": "Liquid" },- {- "filename": "lisp",- "title": "Lisp",- "alias": ["emacs", "elisp", "emacs-lisp"]- },- { "filename": "livescript", "title": "LiveScript" },- { "filename": "llvm", "title": "LLVM IR" },- { "filename": "log", "title": "Log file" },- { "filename": "lolcode", "title": "LOLCODE" },- { "filename": "lua", "title": "Lua" },- { "filename": "magma", "title": "Magma (CAS)" },- { "filename": "makefile", "title": "Makefile" },- { "filename": "markdown", "title": "Markdown", "alias": ["md"] },- { "filename": "markup-templating", "title": "Markup templating" },- { "filename": "mata", "title": "Mata" },- { "filename": "matlab", "title": "MATLAB" },- { "filename": "maxscript", "title": "MAXScript" },- { "filename": "mel", "title": "MEL" },- { "filename": "mermaid", "title": "Mermaid" },- { "filename": "mizar", "title": "Mizar" },- { "filename": "mongodb", "title": "MongoDB" },- { "filename": "monkey", "title": "Monkey" },- { "filename": "moonscript", "title": "MoonScript", "alias": ["moon"] },- { "filename": "n1ql", "title": "N1QL" },- { "filename": "n4js", "title": "N4JS", "alias": ["n4jsd"] },- { "filename": "nand2tetris-hdl", "title": "Nand To Tetris HDL" },- { "filename": "naniscript", "title": "Naninovel Script", "alias": ["nani"] },- { "filename": "nasm", "title": "NASM" },- { "filename": "neon", "title": "NEON" },- { "filename": "nevod", "title": "Nevod" },- { "filename": "nginx", "title": "nginx" },- { "filename": "nim", "title": "Nim" },- { "filename": "nix", "title": "Nix" },- { "filename": "nsis", "title": "NSIS" },- { "filename": "objectivec", "title": "Objective-C", "alias": ["objc"] },- { "filename": "ocaml", "title": "OCaml" },- { "filename": "odin", "title": "Odin" },- { "filename": "opencl", "title": "OpenCL" },- { "filename": "openqasm", "title": "OpenQasm", "alias": ["qasm"] },- { "filename": "oz", "title": "Oz" },- { "filename": "parigp", "title": "PARI/GP" },- { "filename": "parser", "title": "Parser" },- { "filename": "pascal", "title": "Pascal", "alias": ["objectpascal"] },- { "filename": "pascaligo", "title": "Pascaligo" },- { "filename": "psl", "title": "PATROL Scripting Language" },- { "filename": "pcaxis", "title": "PC-Axis", "alias": ["px"] },- { "filename": "peoplecode", "title": "PeopleCode", "alias": ["pcode"] },- { "filename": "perl", "title": "Perl" },- { "filename": "php", "title": "PHP" },- { "filename": "phpdoc", "title": "PHPDoc" },- { "filename": "php-extras", "title": "PHP Extras" },- { "filename": "plant-uml", "title": "PlantUML", "alias": ["plantuml"] },- { "filename": "plsql", "title": "PL/SQL" },- {- "filename": "powerquery",- "title": "PowerQuery",- "alias": ["pq", "mscript"]- },- { "filename": "powershell", "title": "PowerShell" },- { "filename": "processing", "title": "Processing" },- { "filename": "prolog", "title": "Prolog" },- { "filename": "promql", "title": "PromQL" },- { "filename": "properties", "title": ".properties" },- { "filename": "protobuf", "title": "Protocol Buffers" },- { "filename": "pug", "title": "Pug" },- { "filename": "puppet", "title": "Puppet" },- { "filename": "pure", "title": "Pure" },- { "filename": "purebasic", "title": "PureBasic", "alias": ["pbfasm"] },- { "filename": "purescript", "title": "PureScript", "alias": ["purs"] },- { "filename": "python", "title": "Python", "alias": ["py"] },- { "filename": "qsharp", "title": "Q#", "alias": ["qs"] },- { "filename": "q", "title": "Q (kdb+ database)" },- { "filename": "qml", "title": "QML" },- { "filename": "qore", "title": "Qore" },- { "filename": "r", "title": "R" },- { "filename": "racket", "title": "Racket", "alias": ["rkt"] },- { "filename": "cshtml", "title": "Razor C#", "alias": ["razor"] },- { "filename": "jsx", "title": "React JSX" },- { "filename": "tsx", "title": "React TSX" },- { "filename": "reason", "title": "Reason" },- { "filename": "regex", "title": "Regex" },- { "filename": "rego", "title": "Rego" },- { "filename": "renpy", "title": "Ren'py", "alias": ["rpy"] },- { "filename": "rescript", "title": "ReScript", "alias": ["res"] },- { "filename": "rest", "title": "reST (reStructuredText)" },- { "filename": "rip", "title": "Rip" },- { "filename": "roboconf", "title": "Roboconf" },- {- "filename": "robotframework",- "title": "Robot Framework",- "alias": ["robot"]- },- { "filename": "ruby", "title": "Ruby", "alias": ["rb"] },- { "filename": "rust", "title": "Rust" },- { "filename": "sas", "title": "SAS" },- { "filename": "sass", "title": "Sass (Sass)" },- { "filename": "scss", "title": "Sass (Scss)" },- { "filename": "scala", "title": "Scala" },- { "filename": "scheme", "title": "Scheme" },- {- "filename": "shell-session",- "title": "Shell session",- "alias": ["sh-session", "shellsession"]- },- { "filename": "smali", "title": "Smali" },- { "filename": "smalltalk", "title": "Smalltalk" },- { "filename": "smarty", "title": "Smarty" },- { "filename": "sml", "title": "SML", "alias": ["smlnj"] },- { "filename": "solidity", "title": "Solidity (Ethereum)", "alias": ["sol"] },- { "filename": "solution-file", "title": "Solution file", "alias": ["sln"] },- { "filename": "soy", "title": "Soy (Closure Template)" },- { "filename": "sparql", "title": "SPARQL", "alias": ["rq"] },- { "filename": "splunk-spl", "title": "Splunk SPL" },- { "filename": "sqf", "title": "SQF: Status Quo Function (Arma 3)" },- { "filename": "sql", "title": "SQL" },- { "filename": "squirrel", "title": "Squirrel" },- { "filename": "stan", "title": "Stan" },- { "filename": "stata", "title": "Stata Ado" },- { "filename": "iecst", "title": "Structured Text (IEC 61131-3)" },- { "filename": "stylus", "title": "Stylus" },- {- "filename": "supercollider",- "title": "SuperCollider",- "alias": ["sclang"]- },- { "filename": "swift", "title": "Swift" },- { "filename": "systemd", "title": "Systemd configuration file" },- { "filename": "t4-templating", "title": "T4 templating" },- { "filename": "t4-cs", "title": "T4 Text Templates (C#)", "alias": ["t4"] },- { "filename": "t4-vb", "title": "T4 Text Templates (VB)" },- { "filename": "tap", "title": "TAP" },- { "filename": "tcl", "title": "Tcl" },- { "filename": "tt2", "title": "Template Toolkit 2" },- { "filename": "textile", "title": "Textile" },- { "filename": "toml", "title": "TOML" },- { "filename": "tremor", "title": "Tremor", "alias": ["trickle", "troy"] },- { "filename": "turtle", "title": "Turtle", "alias": ["trig"] },- { "filename": "twig", "title": "Twig" },- { "filename": "typescript", "title": "TypeScript", "alias": ["ts"] },- { "filename": "typoscript", "title": "TypoScript", "alias": ["tsconfig"] },- {- "filename": "unrealscript",- "title": "UnrealScript",- "alias": ["uscript", "uc"]- },- { "filename": "uorazor", "title": "UO Razor Script" },- { "filename": "uri", "title": "URI", "alias": ["url"] },- { "filename": "v", "title": "V" },- { "filename": "vala", "title": "Vala" },- { "filename": "vbnet", "title": "VB.Net" },- { "filename": "velocity", "title": "Velocity" },- { "filename": "verilog", "title": "Verilog" },- { "filename": "vhdl", "title": "VHDL" },- { "filename": "vim", "title": "vim" },- {- "filename": "visual-basic",- "title": "Visual Basic",- "alias": ["vb", "vba"]- },- { "filename": "warpscript", "title": "WarpScript" },- { "filename": "wasm", "title": "WebAssembly" },- { "filename": "web-idl", "title": "Web IDL", "alias": ["webidl"] },- { "filename": "wgsl", "title": "WGSL" },- { "filename": "wiki", "title": "Wiki markup" },- {- "filename": "wolfram",- "title": "Wolfram language",- "alias": ["mathematica", "nb", "wl"]- },- { "filename": "wren", "title": "Wren" },- { "filename": "xeora", "title": "Xeora", "alias": ["xeoracube"] },- { "filename": "xml-doc", "title": "XML doc (.net)" },- { "filename": "xojo", "title": "Xojo (REALbasic)" },- { "filename": "xquery", "title": "XQuery" },- { "filename": "yaml", "title": "YAML", "alias": ["yml"] },- { "filename": "yang", "title": "YANG" },- { "filename": "zig", "title": "Zig" }-]+[{"filename":"markup","title":"Markup","alias":["html","xml","svg","mathml","ssml","atom","rss"]},{"filename":"css","title":"CSS"},{"filename":"clike","title":"C-like"},{"filename":"javascript","title":"JavaScript","alias":["js"]},{"filename":"abap","title":"ABAP"},{"filename":"abnf","title":"ABNF"},{"filename":"actionscript","title":"ActionScript"},{"filename":"ada","title":"Ada"},{"filename":"agda","title":"Agda"},{"filename":"al","title":"AL"},{"filename":"antlr4","title":"ANTLR4","alias":["g4"]},{"filename":"apacheconf","title":"Apache Configuration"},{"filename":"apex","title":"Apex"},{"filename":"apl","title":"APL"},{"filename":"applescript","title":"AppleScript"},{"filename":"aql","title":"AQL"},{"filename":"arduino","title":"Arduino","alias":["ino"]},{"filename":"arff","title":"ARFF"},{"filename":"armasm","title":"ARM Assembly","alias":["arm-asm"]},{"filename":"arturo","title":"Arturo","alias":["art"]},{"filename":"asciidoc","title":"AsciiDoc","alias":["adoc"]},{"filename":"aspnet","title":"ASP.NET (C#)"},{"filename":"asm6502","title":"6502 Assembly"},{"filename":"asmatmel","title":"Atmel AVR Assembly"},{"filename":"autohotkey","title":"AutoHotkey"},{"filename":"autoit","title":"AutoIt"},{"filename":"avisynth","title":"AviSynth","alias":["avs"]},{"filename":"avro-idl","title":"Avro IDL","alias":["avdl"]},{"filename":"awk","title":"AWK","alias":["gawk"]},{"filename":"bash","title":"Bash","alias":["sh","shell"]},{"filename":"basic","title":"BASIC"},{"filename":"batch","title":"Batch"},{"filename":"bbcode","title":"BBcode","alias":["shortcode"]},{"filename":"bbj","title":"BBj"},{"filename":"bicep","title":"Bicep"},{"filename":"birb","title":"Birb"},{"filename":"bison","title":"Bison"},{"filename":"bnf","title":"BNF","alias":["rbnf"]},{"filename":"bqn","title":"BQN"},{"filename":"brainfuck","title":"Brainfuck"},{"filename":"brightscript","title":"BrightScript"},{"filename":"bro","title":"Bro"},{"filename":"bsl","title":"BSL (1C:Enterprise)","alias":["oscript"]},{"filename":"c","title":"C"},{"filename":"csharp","title":"C#","alias":["cs","dotnet"]},{"filename":"cpp","title":"C++"},{"filename":"cfscript","title":"CFScript","alias":["cfc"]},{"filename":"chaiscript","title":"ChaiScript"},{"filename":"cil","title":"CIL"},{"filename":"cilkc","title":"Cilk/C","alias":["cilk-c"]},{"filename":"cilkcpp","title":"Cilk/C++","alias":["cilk-cpp","cilk"]},{"filename":"clojure","title":"Clojure"},{"filename":"cmake","title":"CMake"},{"filename":"cobol","title":"COBOL"},{"filename":"coffeescript","title":"CoffeeScript","alias":["coffee"]},{"filename":"concurnas","title":"Concurnas","alias":["conc"]},{"filename":"csp","title":"Content-Security-Policy"},{"filename":"cooklang","title":"Cooklang"},{"filename":"coq","title":"Coq"},{"filename":"crystal","title":"Crystal"},{"filename":"css-extras","title":"CSS Extras"},{"filename":"csv","title":"CSV"},{"filename":"cue","title":"CUE"},{"filename":"cypher","title":"Cypher"},{"filename":"d","title":"D"},{"filename":"dart","title":"Dart"},{"filename":"dataweave","title":"DataWeave"},{"filename":"dax","title":"DAX"},{"filename":"dhall","title":"Dhall"},{"filename":"diff","title":"Diff"},{"filename":"django","title":"Django/Jinja2","alias":["jinja2"]},{"filename":"dns-zone-file","title":"DNS zone file","alias":["dns-zone"]},{"filename":"docker","title":"Docker","alias":["dockerfile"]},{"filename":"dot","title":"DOT (Graphviz)","alias":["gv"]},{"filename":"ebnf","title":"EBNF"},{"filename":"editorconfig","title":"EditorConfig"},{"filename":"eiffel","title":"Eiffel"},{"filename":"ejs","title":"EJS","alias":["eta"]},{"filename":"elixir","title":"Elixir"},{"filename":"elm","title":"Elm"},{"filename":"etlua","title":"Embedded Lua templating"},{"filename":"erb","title":"ERB"},{"filename":"erlang","title":"Erlang"},{"filename":"excel-formula","title":"Excel Formula","alias":["xlsx","xls"]},{"filename":"fsharp","title":"F#"},{"filename":"factor","title":"Factor"},{"filename":"false","title":"False"},{"filename":"firestore-security-rules","title":"Firestore security rules"},{"filename":"flow","title":"Flow"},{"filename":"fortran","title":"Fortran"},{"filename":"ftl","title":"FreeMarker Template Language"},{"filename":"gml","title":"GameMaker Language","alias":["gamemakerlanguage"]},{"filename":"gap","title":"GAP (CAS)"},{"filename":"gcode","title":"G-code"},{"filename":"gdscript","title":"GDScript"},{"filename":"gedcom","title":"GEDCOM"},{"filename":"gettext","title":"gettext","alias":["po"]},{"filename":"gherkin","title":"Gherkin"},{"filename":"git","title":"Git"},{"filename":"glsl","title":"GLSL"},{"filename":"gn","title":"GN","alias":["gni"]},{"filename":"linker-script","title":"GNU Linker Script","alias":["ld"]},{"filename":"go","title":"Go"},{"filename":"go-module","title":"Go module","alias":["go-mod"]},{"filename":"gradle","title":"Gradle"},{"filename":"graphql","title":"GraphQL"},{"filename":"groovy","title":"Groovy"},{"filename":"haml","title":"Haml"},{"filename":"handlebars","title":"Handlebars","alias":["hbs","mustache"]},{"filename":"haskell","title":"Haskell","alias":["hs"]},{"filename":"haxe","title":"Haxe"},{"filename":"hcl","title":"HCL"},{"filename":"hlsl","title":"HLSL"},{"filename":"hoon","title":"Hoon"},{"filename":"http","title":"HTTP"},{"filename":"hpkp","title":"HTTP Public-Key-Pins"},{"filename":"hsts","title":"HTTP Strict-Transport-Security"},{"filename":"ichigojam","title":"IchigoJam"},{"filename":"icon","title":"Icon"},{"filename":"icu-message-format","title":"ICU Message Format"},{"filename":"idris","title":"Idris","alias":["idr"]},{"filename":"ignore","title":".ignore","alias":["gitignore","hgignore","npmignore"]},{"filename":"inform7","title":"Inform 7"},{"filename":"ini","title":"Ini"},{"filename":"io","title":"Io"},{"filename":"j","title":"J"},{"filename":"java","title":"Java"},{"filename":"javadoc","title":"JavaDoc"},{"filename":"javadoclike","title":"JavaDoc-like"},{"filename":"javastacktrace","title":"Java stack trace"},{"filename":"jexl","title":"Jexl"},{"filename":"jolie","title":"Jolie"},{"filename":"jq","title":"JQ"},{"filename":"jsdoc","title":"JSDoc"},{"filename":"js-extras","title":"JS Extras"},{"filename":"json","title":"JSON","alias":["webmanifest"]},{"filename":"json5","title":"JSON5"},{"filename":"jsonp","title":"JSONP"},{"filename":"jsstacktrace","title":"JS stack trace"},{"filename":"js-templates","title":"JS Templates"},{"filename":"julia","title":"Julia"},{"filename":"keepalived","title":"Keepalived Configure"},{"filename":"keyman","title":"Keyman"},{"filename":"kotlin","title":"Kotlin","alias":["kt","kts"]},{"filename":"kumir","title":"KuMir (КуМир)","alias":["kum"]},{"filename":"kusto","title":"Kusto"},{"filename":"latex","title":"LaTeX","alias":["tex","context"]},{"filename":"latte","title":"Latte"},{"filename":"less","title":"Less"},{"filename":"lilypond","title":"LilyPond","alias":["ly"]},{"filename":"liquid","title":"Liquid"},{"filename":"lisp","title":"Lisp","alias":["emacs","elisp","emacs-lisp"]},{"filename":"livescript","title":"LiveScript"},{"filename":"llvm","title":"LLVM IR"},{"filename":"log","title":"Log file"},{"filename":"lolcode","title":"LOLCODE"},{"filename":"lua","title":"Lua"},{"filename":"magma","title":"Magma (CAS)"},{"filename":"makefile","title":"Makefile"},{"filename":"markdown","title":"Markdown","alias":["md"]},{"filename":"markup-templating","title":"Markup templating"},{"filename":"mata","title":"Mata"},{"filename":"matlab","title":"MATLAB"},{"filename":"maxscript","title":"MAXScript"},{"filename":"mel","title":"MEL"},{"filename":"mermaid","title":"Mermaid"},{"filename":"metafont","title":"METAFONT"},{"filename":"mizar","title":"Mizar"},{"filename":"mongodb","title":"MongoDB"},{"filename":"monkey","title":"Monkey"},{"filename":"moonscript","title":"MoonScript","alias":["moon"]},{"filename":"n1ql","title":"N1QL"},{"filename":"n4js","title":"N4JS","alias":["n4jsd"]},{"filename":"nand2tetris-hdl","title":"Nand To Tetris HDL"},{"filename":"naniscript","title":"Naninovel Script","alias":["nani"]},{"filename":"nasm","title":"NASM"},{"filename":"neon","title":"NEON"},{"filename":"nevod","title":"Nevod"},{"filename":"nginx","title":"nginx"},{"filename":"nim","title":"Nim"},{"filename":"nix","title":"Nix"},{"filename":"nsis","title":"NSIS"},{"filename":"objectivec","title":"Objective-C","alias":["objc"]},{"filename":"ocaml","title":"OCaml"},{"filename":"odin","title":"Odin"},{"filename":"opencl","title":"OpenCL"},{"filename":"openqasm","title":"OpenQasm","alias":["qasm"]},{"filename":"oz","title":"Oz"},{"filename":"parigp","title":"PARI/GP"},{"filename":"parser","title":"Parser"},{"filename":"pascal","title":"Pascal","alias":["objectpascal"]},{"filename":"pascaligo","title":"Pascaligo"},{"filename":"psl","title":"PATROL Scripting Language"},{"filename":"pcaxis","title":"PC-Axis","alias":["px"]},{"filename":"peoplecode","title":"PeopleCode","alias":["pcode"]},{"filename":"perl","title":"Perl"},{"filename":"php","title":"PHP"},{"filename":"phpdoc","title":"PHPDoc"},{"filename":"php-extras","title":"PHP Extras"},{"filename":"plant-uml","title":"PlantUML","alias":["plantuml"]},{"filename":"plsql","title":"PL/SQL"},{"filename":"powerquery","title":"PowerQuery","alias":["pq","mscript"]},{"filename":"powershell","title":"PowerShell"},{"filename":"processing","title":"Processing"},{"filename":"prolog","title":"Prolog"},{"filename":"promql","title":"PromQL"},{"filename":"properties","title":".properties"},{"filename":"protobuf","title":"Protocol Buffers"},{"filename":"pug","title":"Pug"},{"filename":"puppet","title":"Puppet"},{"filename":"pure","title":"Pure"},{"filename":"purebasic","title":"PureBasic","alias":["pbfasm"]},{"filename":"purescript","title":"PureScript","alias":["purs"]},{"filename":"python","title":"Python","alias":["py"]},{"filename":"qsharp","title":"Q#","alias":["qs"]},{"filename":"q","title":"Q (kdb+ database)"},{"filename":"qml","title":"QML"},{"filename":"qore","title":"Qore"},{"filename":"r","title":"R"},{"filename":"racket","title":"Racket","alias":["rkt"]},{"filename":"cshtml","title":"Razor C#","alias":["razor"]},{"filename":"jsx","title":"React JSX"},{"filename":"tsx","title":"React TSX"},{"filename":"reason","title":"Reason"},{"filename":"regex","title":"Regex"},{"filename":"rego","title":"Rego"},{"filename":"renpy","title":"Ren'py","alias":["rpy"]},{"filename":"rescript","title":"ReScript","alias":["res"]},{"filename":"rest","title":"reST (reStructuredText)"},{"filename":"rip","title":"Rip"},{"filename":"roboconf","title":"Roboconf"},{"filename":"robotframework","title":"Robot Framework","alias":["robot"]},{"filename":"ruby","title":"Ruby","alias":["rb"]},{"filename":"rust","title":"Rust"},{"filename":"sas","title":"SAS"},{"filename":"sass","title":"Sass (Sass)"},{"filename":"scss","title":"Sass (SCSS)"},{"filename":"scala","title":"Scala"},{"filename":"scheme","title":"Scheme"},{"filename":"shell-session","title":"Shell session","alias":["sh-session","shellsession"]},{"filename":"smali","title":"Smali"},{"filename":"smalltalk","title":"Smalltalk"},{"filename":"smarty","title":"Smarty"},{"filename":"sml","title":"SML","alias":["smlnj"]},{"filename":"solidity","title":"Solidity (Ethereum)","alias":["sol"]},{"filename":"solution-file","title":"Solution file","alias":["sln"]},{"filename":"soy","title":"Soy (Closure Template)"},{"filename":"sparql","title":"SPARQL","alias":["rq"]},{"filename":"splunk-spl","title":"Splunk SPL"},{"filename":"sqf","title":"SQF: Status Quo Function (Arma 3)"},{"filename":"sql","title":"SQL"},{"filename":"squirrel","title":"Squirrel"},{"filename":"stan","title":"Stan"},{"filename":"stata","title":"Stata Ado"},{"filename":"iecst","title":"Structured Text (IEC 61131-3)"},{"filename":"stylus","title":"Stylus"},{"filename":"supercollider","title":"SuperCollider","alias":["sclang"]},{"filename":"swift","title":"Swift"},{"filename":"systemd","title":"Systemd configuration file"},{"filename":"t4-templating","title":"T4 templating"},{"filename":"t4-cs","title":"T4 Text Templates (C#)","alias":["t4"]},{"filename":"t4-vb","title":"T4 Text Templates (VB)"},{"filename":"tap","title":"TAP"},{"filename":"tcl","title":"Tcl"},{"filename":"tt2","title":"Template Toolkit 2"},{"filename":"textile","title":"Textile"},{"filename":"toml","title":"TOML"},{"filename":"tremor","title":"Tremor","alias":["trickle","troy"]},{"filename":"turtle","title":"Turtle","alias":["trig"]},{"filename":"twig","title":"Twig"},{"filename":"typescript","title":"TypeScript","alias":["ts"]},{"filename":"typoscript","title":"TypoScript","alias":["tsconfig"]},{"filename":"unrealscript","title":"UnrealScript","alias":["uscript","uc"]},{"filename":"uorazor","title":"UO Razor Script"},{"filename":"uri","title":"URI","alias":["url"]},{"filename":"v","title":"V"},{"filename":"vala","title":"Vala"},{"filename":"vbnet","title":"VB.Net"},{"filename":"velocity","title":"Velocity"},{"filename":"verilog","title":"Verilog"},{"filename":"vhdl","title":"VHDL"},{"filename":"vim","title":"vim"},{"filename":"visual-basic","title":"Visual Basic","alias":["vb","vba"]},{"filename":"warpscript","title":"WarpScript"},{"filename":"wasm","title":"WebAssembly"},{"filename":"web-idl","title":"Web IDL","alias":["webidl"]},{"filename":"wgsl","title":"WGSL"},{"filename":"wiki","title":"Wiki markup"},{"filename":"wolfram","title":"Wolfram language","alias":["mathematica","nb","wl"]},{"filename":"wren","title":"Wren"},{"filename":"xeora","title":"Xeora","alias":["xeoracube"]},{"filename":"xml-doc","title":"XML doc (.net)"},{"filename":"xojo","title":"Xojo (REALbasic)"},{"filename":"xquery","title":"XQuery"},{"filename":"yaml","title":"YAML","alias":["yml"]},{"filename":"yang","title":"YANG"},{"filename":"zig","title":"Zig"}]\ No newline at end of file