diff --git a/src/nodes/CodeFence.ts b/src/nodes/CodeFence.ts index bcbb5bd72..c87c2a052 100644 --- a/src/nodes/CodeFence.ts +++ b/src/nodes/CodeFence.ts @@ -14,6 +14,7 @@ import php from "refractor/lang/php"; import python from "refractor/lang/python"; import powershell from "refractor/lang/powershell"; import ruby from "refractor/lang/ruby"; +import rust from "refractor/lang/rust"; import sql from "refractor/lang/sql"; import typescript from "refractor/lang/typescript"; import yaml from "refractor/lang/yaml"; @@ -46,6 +47,7 @@ const DEFAULT_LANGUAGE = "javascript"; python, powershell, ruby, + rust, sql, typescript, yaml, diff --git a/src/plugins/Prism.ts b/src/plugins/Prism.ts index e2fbdc087..7d2c96da8 100644 --- a/src/plugins/Prism.ts +++ b/src/plugins/Prism.ts @@ -22,6 +22,7 @@ export const LANGUAGES = { powershell: "Powershell", python: "Python", ruby: "Ruby", + rust: "Rust", sql: "SQL", typescript: "TypeScript", yaml: "YAML",