feat: add new languages to selection (#626)

* Add new languages to selection

* more translations
This commit is contained in:
Philip Okugbe
2025-01-11 22:11:31 +00:00
committed by GitHub
parent f7ac6bb4bb
commit f3dbf7cc5d
9 changed files with 54 additions and 39 deletions

View File

@ -64,8 +64,8 @@ import clojure from "highlight.js/lib/languages/clojure";
import fortran from "highlight.js/lib/languages/fortran";
import haskell from "highlight.js/lib/languages/haskell";
import scala from "highlight.js/lib/languages/scala";
import i18n from "@/i18n.ts";
import { MarkdownClipboard } from "@/features/editor/extensions/markdown-clipboard.ts";
import i18n from "i18next";
const lowlight = createLowlight(common);
lowlight.register("mermaid", plaintext);