diff --git a/docs/Release Notes/Release Notes/v0.94.0.md b/docs/Release Notes/Release Notes/v0.94.0.md index e95aedce7..f84eafe65 100644 --- a/docs/Release Notes/Release Notes/v0.94.0.md +++ b/docs/Release Notes/Release Notes/v0.94.0.md @@ -40,6 +40,7 @@ * Added support for Cypher. * Added support for XML-DTD. * Added support for Jinja2. + * Added support for ClojureScript. * Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding. * Slight organization in Appearance settings: code block themes are now in "Text Notes", added a "Related settings" section in Appearance. * [Added support for opening and activating a note in a new tab using Ctrl+Shift+click on notes in the launcher pane, note tree, or note images](https://github.com/TriliumNext/Notes/pull/1854) by @SiriusXT diff --git a/packages/highlightjs/src/syntax_highlighting.ts b/packages/highlightjs/src/syntax_highlighting.ts index dceab0137..334079867 100644 --- a/packages/highlightjs/src/syntax_highlighting.ts +++ b/packages/highlightjs/src/syntax_highlighting.ts @@ -48,7 +48,7 @@ const byMimeType: MimeRecord = { "text/x-c++src": () => import("highlight.js/lib/languages/cpp"), "text/x-cassandra": null, "text/x-clojure": () => import("highlight.js/lib/languages/clojure"), - "text/x-clojurescript": null, + "text/x-clojurescript": () => import("highlight.js/lib/languages/clojure"), "text/x-cmake": () => import("highlight.js/lib/languages/cmake"), "text/x-cobol": null, "text/x-common-lisp": () => import("highlight.js/lib/languages/lisp"),