mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(highlighting): add swift
This commit is contained in:
parent
4877b4569f
commit
973d9c2192
@ -44,6 +44,7 @@
|
|||||||
* Added support for Perl.
|
* Added support for Perl.
|
||||||
* Added support for Scala.
|
* Added support for Scala.
|
||||||
* Added support for Scheme.
|
* Added support for Scheme.
|
||||||
|
* Added support for Swift.
|
||||||
* 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
|
||||||
|
@ -146,7 +146,7 @@ const byMimeType: MimeRecord = {
|
|||||||
"text/x-stex": null,
|
"text/x-stex": null,
|
||||||
"text/x-stsrc": () => import("highlight.js/lib/languages/smalltalk"),
|
"text/x-stsrc": () => import("highlight.js/lib/languages/smalltalk"),
|
||||||
"text/x-styl": () => import("highlight.js/lib/languages/stylus"),
|
"text/x-styl": () => import("highlight.js/lib/languages/stylus"),
|
||||||
"text/x-swift": null,
|
"text/x-swift": () => import("highlight.js/lib/languages/swift"),
|
||||||
"text/x-systemverilog": null,
|
"text/x-systemverilog": null,
|
||||||
"text/x-tcl": () => import("highlight.js/lib/languages/tcl"),
|
"text/x-tcl": () => import("highlight.js/lib/languages/tcl"),
|
||||||
"text/x-textile": null,
|
"text/x-textile": null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user