Compare commits

...

2 Commits

Author SHA1 Message Date
Tom Moor 83992e73a6 Update code.ts 2025-05-07 19:02:02 -04:00
codegen-sh[bot] 0b056a7bc6 Add PromQL as a code highlighting option in the editor 2025-05-07 22:49:33 +00:00
+6
View File
@@ -198,6 +198,12 @@ export const codeLanguages: Record<string, CodeLanguage> = {
label: "Powershell",
loader: () => import("refractor/lang/powershell").then((m) => m.default),
},
promql: {
lang: "promql",
label: "PromQL",
// @ts-expect-error PromQL is not in types but exists
loader: () => import("refractor/lang/promql").then((m) => m.default),
},
protobuf: {
lang: "protobuf",
label: "Protobuf",