feat(highlighting): add scala

This commit is contained in:
Elian Doran 2025-05-18 21:39:12 +03:00
parent 59ca0e981a
commit 475a4d05db
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@
* Added support for Jinja2. * Added support for Jinja2.
* Added support for ClojureScript. * Added support for ClojureScript.
* Added support for Perl. * Added support for Perl.
* Added support for Scala.
* 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

@ -129,7 +129,7 @@ const byMimeType: MimeRecord = {
"text/x-rustsrc": () => import("highlight.js/lib/languages/rust"), "text/x-rustsrc": () => import("highlight.js/lib/languages/rust"),
"text/x-sas": () => import("highlight.js/lib/languages/sas"), "text/x-sas": () => import("highlight.js/lib/languages/sas"),
"text/x-sass": () => import("highlight.js/lib/languages/scss"), "text/x-sass": () => import("highlight.js/lib/languages/scss"),
"text/x-scala": null, "text/x-scala": () => import("highlight.js/lib/languages/scala"),
"text/x-scheme": null, "text/x-scheme": null,
"text/x-scss": () => import("highlight.js/lib/languages/scss"), "text/x-scss": () => import("highlight.js/lib/languages/scss"),
"text/x-sh": () => import("highlight.js/lib/languages/bash"), "text/x-sh": () => import("highlight.js/lib/languages/bash"),