mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
chore(highlightjs): integrate terraform
This commit is contained in:
@@ -20,7 +20,7 @@ const byMimeType: Record<string, (Mapping | null)> = {
|
||||
"application/sparql-query": null,
|
||||
"application/typescript": { loader: import("highlight.js/lib/languages/typescript.js"), alias: "typescript" },
|
||||
"application/x-aspx": null,
|
||||
"application/x-bat": { loader: import("highlight.js/lib/languages/bat.js"), alias: "bat" },
|
||||
"application/x-bat": { loader: import("highlight.js/lib/languages/dos.js"), alias: "bat" },
|
||||
"application/x-cypher-query": null,
|
||||
"application/x-ejs": null,
|
||||
"application/x-erb": { loader: import("highlight.js/lib/languages/erb.js"), alias: "erb" },
|
||||
@@ -32,7 +32,7 @@ const byMimeType: Record<string, (Mapping | null)> = {
|
||||
"text/apl": null,
|
||||
"text/coffeescript": { loader: import("highlight.js/lib/languages/coffeescript.js"), alias: "coffeescript" },
|
||||
"text/css": { loader: import("highlight.js/lib/languages/css.js"), alias: "css" },
|
||||
"text/html": { loader: import("highlight.js/lib/languages/html.js"), alias: "html" },
|
||||
"text/html": { loader: import("highlight.js/lib/languages/xml.js"), alias: "html" },
|
||||
"text/jinja2": null,
|
||||
"text/jsx": { loader: import("highlight.js/lib/languages/javascript.js"), alias: "javascript" },
|
||||
"text/mirc": null,
|
||||
@@ -84,7 +84,7 @@ const byMimeType: Record<string, (Mapping | null)> = {
|
||||
"text/x-haml": { loader: import("highlight.js/lib/languages/haml.js"), alias: "haml" },
|
||||
"text/x-haskell": { loader: import("highlight.js/lib/languages/haskell.js"), alias: "haskell" },
|
||||
"text/x-haxe": { loader: import("highlight.js/lib/languages/haxe.js"), alias: "haxe" },
|
||||
"text/x-hcl": { loader: import("highlight.js/lib/languages/terraform.js"), alias: "terraform" },
|
||||
"text/x-hcl": { loader: import("./languages/terraform.js"), alias: "terraform" },
|
||||
"text/x-hxml": null,
|
||||
"text/x-idl": null,
|
||||
"text/x-java": { loader: import("highlight.js/lib/languages/java.js"), alias: "java" },
|
||||
|
||||
Reference in New Issue
Block a user