mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(highlighting): add jinja2
This commit is contained in:
parent
a8f810becd
commit
a0140455bf
@ -39,6 +39,7 @@
|
|||||||
* 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.
|
* Added support for XML-DTD.
|
||||||
|
* Added support for Jinja2.
|
||||||
* 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
|
||||||
|
@ -31,7 +31,7 @@ const byMimeType: MimeRecord = {
|
|||||||
"text/coffeescript": () => import("highlight.js/lib/languages/coffeescript"),
|
"text/coffeescript": () => import("highlight.js/lib/languages/coffeescript"),
|
||||||
"text/css": () => import("highlight.js/lib/languages/css"),
|
"text/css": () => import("highlight.js/lib/languages/css"),
|
||||||
"text/html": () => import("highlight.js/lib/languages/xml"),
|
"text/html": () => import("highlight.js/lib/languages/xml"),
|
||||||
"text/jinja2": null,
|
"text/jinja2": () => import("highlight.js/lib/languages/django"),
|
||||||
"text/jsx": () => import("highlight.js/lib/languages/javascript"),
|
"text/jsx": () => import("highlight.js/lib/languages/javascript"),
|
||||||
"text/mirc": null,
|
"text/mirc": null,
|
||||||
"text/tiki": null,
|
"text/tiki": null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user