diff --git a/shared/editor/extensions/Prism.ts b/shared/editor/extensions/Prism.ts index fa4aa7eb61..8d65eb7228 100644 --- a/shared/editor/extensions/Prism.ts +++ b/shared/editor/extensions/Prism.ts @@ -39,6 +39,7 @@ export const LANGUAGES = { perl: "Perl", php: "PHP", powershell: "Powershell", + protobuf: "Protobuf", python: "Python", r: "R", ruby: "Ruby", diff --git a/shared/editor/nodes/CodeFence.ts b/shared/editor/nodes/CodeFence.ts index a4855b2509..6223a0ef70 100644 --- a/shared/editor/nodes/CodeFence.ts +++ b/shared/editor/nodes/CodeFence.ts @@ -41,6 +41,7 @@ import ocaml from "refractor/lang/ocaml"; import perl from "refractor/lang/perl"; import php from "refractor/lang/php"; import powershell from "refractor/lang/powershell"; +import protobuf from "refractor/lang/protobuf"; import python from "refractor/lang/python"; import r from "refractor/lang/r"; import ruby from "refractor/lang/ruby"; @@ -121,6 +122,7 @@ const DEFAULT_LANGUAGE = "javascript"; php, python, powershell, + protobuf, r, ruby, rust,