feat(highlighting): add clojurescript

This commit is contained in:
Elian Doran 2025-05-18 21:30:33 +03:00
parent a0140455bf
commit 755d74feff
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@
* Added support for Cypher. * Added support for Cypher.
* Added support for XML-DTD. * Added support for XML-DTD.
* Added support for Jinja2. * Added support for Jinja2.
* Added support for ClojureScript.
* Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding. * 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. * 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 * [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

View File

@ -48,7 +48,7 @@ const byMimeType: MimeRecord = {
"text/x-c++src": () => import("highlight.js/lib/languages/cpp"), "text/x-c++src": () => import("highlight.js/lib/languages/cpp"),
"text/x-cassandra": null, "text/x-cassandra": null,
"text/x-clojure": () => import("highlight.js/lib/languages/clojure"), "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-cmake": () => import("highlight.js/lib/languages/cmake"),
"text/x-cobol": null, "text/x-cobol": null,
"text/x-common-lisp": () => import("highlight.js/lib/languages/lisp"), "text/x-common-lisp": () => import("highlight.js/lib/languages/lisp"),