Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
feat: Add 'Rust' language support
Browse files Browse the repository at this point in the history
  • Loading branch information
tommoor committed Nov 26, 2021
1 parent af9aa0d commit 42062de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nodes/CodeFence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -46,6 +47,7 @@ const DEFAULT_LANGUAGE = "javascript";
python,
powershell,
ruby,
rust,
sql,
typescript,
yaml,
Expand Down
1 change: 1 addition & 0 deletions src/plugins/Prism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const LANGUAGES = {
powershell: "Powershell",
python: "Python",
ruby: "Ruby",
rust: "Rust",
sql: "SQL",
typescript: "TypeScript",
yaml: "YAML",
Expand Down

0 comments on commit 42062de

Please sign in to comment.