mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(highlighting): add XML-DTD
This commit is contained in:
parent
6a3a6243c4
commit
a8f810becd
@ -38,6 +38,7 @@
|
|||||||
* Note: syntax highlighting for some languages (mostly HTML-template languages such as EJS, JSP) is no longer supported due to lack of upstream support. If this is a problem, feel free to report an issue and we can see what can be done about it.
|
* Note: syntax highlighting for some languages (mostly HTML-template languages such as EJS, JSP) is no longer supported due to lack of upstream support. If this is a problem, feel free to report an issue and we can see what can be done about it.
|
||||||
* Syntax highlighting in code blocks for text notes:
|
* Syntax highlighting in code blocks for text notes:
|
||||||
* Added support for Cypher.
|
* Added support for Cypher.
|
||||||
|
* Added support for XML-DTD.
|
||||||
* 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
|
||||||
|
@ -24,7 +24,7 @@ const byMimeType: MimeRecord = {
|
|||||||
"application/x-erb": () => import("highlight.js/lib/languages/erb"),
|
"application/x-erb": () => import("highlight.js/lib/languages/erb"),
|
||||||
"application/x-jsp": () => import("highlight.js/lib/languages/java"),
|
"application/x-jsp": () => import("highlight.js/lib/languages/java"),
|
||||||
"application/x-powershell": () => import("highlight.js/lib/languages/powershell"),
|
"application/x-powershell": () => import("highlight.js/lib/languages/powershell"),
|
||||||
"application/xml-dtd": null,
|
"application/xml-dtd": () => import("highlight.js/lib/languages/xml"),
|
||||||
"application/xquery": () => import("highlight.js/lib/languages/xquery"),
|
"application/xquery": () => import("highlight.js/lib/languages/xquery"),
|
||||||
"message/http": () => import("highlight.js/lib/languages/http"),
|
"message/http": () => import("highlight.js/lib/languages/http"),
|
||||||
"text/apl": null,
|
"text/apl": null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user