mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
feat(highlighting): add cobol
This commit is contained in:
parent
0572295c51
commit
a520e72a15
@ -47,6 +47,7 @@
|
|||||||
* Added support for Swift.
|
* Added support for Swift.
|
||||||
* Added support for SystemVerilog.
|
* Added support for SystemVerilog.
|
||||||
* Added support for mIRC.
|
* Added support for mIRC.
|
||||||
|
* Added support for Cobol.
|
||||||
* 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
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
"@exercism/highlightjs-gdscript": "0.0.1",
|
"@exercism/highlightjs-gdscript": "0.0.1",
|
||||||
"@triliumnext/commons": "workspace:*",
|
"@triliumnext/commons": "workspace:*",
|
||||||
"highlight.js": "11.11.1",
|
"highlight.js": "11.11.1",
|
||||||
|
"highlightjs-cobol": "0.3.3",
|
||||||
"highlightjs-cypher": "1.2.0"
|
"highlightjs-cypher": "1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ const byMimeType: MimeRecord = {
|
|||||||
"text/x-clojure": () => import("highlight.js/lib/languages/clojure"),
|
"text/x-clojure": () => import("highlight.js/lib/languages/clojure"),
|
||||||
"text/x-clojurescript": () => import("highlight.js/lib/languages/clojure"),
|
"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": () => import("highlightjs-cobol"),
|
||||||
"text/x-common-lisp": () => import("highlight.js/lib/languages/lisp"),
|
"text/x-common-lisp": () => import("highlight.js/lib/languages/lisp"),
|
||||||
"text/x-crystal": () => import("highlight.js/lib/languages/crystal"),
|
"text/x-crystal": () => import("highlight.js/lib/languages/crystal"),
|
||||||
"text/x-csharp": () => import("highlight.js/lib/languages/csharp"),
|
"text/x-csharp": () => import("highlight.js/lib/languages/csharp"),
|
||||||
|
11
pnpm-lock.yaml
generated
11
pnpm-lock.yaml
generated
@ -1292,6 +1292,9 @@ importers:
|
|||||||
highlight.js:
|
highlight.js:
|
||||||
specifier: 11.11.1
|
specifier: 11.11.1
|
||||||
version: 11.11.1
|
version: 11.11.1
|
||||||
|
highlightjs-cobol:
|
||||||
|
specifier: 0.3.3
|
||||||
|
version: 0.3.3
|
||||||
highlightjs-cypher:
|
highlightjs-cypher:
|
||||||
specifier: 1.2.0
|
specifier: 1.2.0
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
@ -8758,6 +8761,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==}
|
resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==}
|
||||||
engines: {node: '>=12.0.0'}
|
engines: {node: '>=12.0.0'}
|
||||||
|
|
||||||
|
highlightjs-cobol@0.3.3:
|
||||||
|
resolution: {integrity: sha512-sdEHzA1UQM9Fjx6wMkWLq8VN70SHascq84aFJJzenOF2TwHE4nwtKCbhHGzOWQKN0AUnn0yAHfXQqaH8i2C8YA==}
|
||||||
|
|
||||||
highlightjs-cypher@1.2.0:
|
highlightjs-cypher@1.2.0:
|
||||||
resolution: {integrity: sha512-mOY/g6R1MgXiYx07icl8nwtXCRDSy4Y9EAlDZKia8Thqe766v6cjnrD6/xWak9UXoLQfWqbHhmRmYuw0SiO+CA==}
|
resolution: {integrity: sha512-mOY/g6R1MgXiYx07icl8nwtXCRDSy4Y9EAlDZKia8Thqe766v6cjnrD6/xWak9UXoLQfWqbHhmRmYuw0SiO+CA==}
|
||||||
|
|
||||||
@ -24013,6 +24019,11 @@ snapshots:
|
|||||||
|
|
||||||
highlight.js@11.11.1: {}
|
highlight.js@11.11.1: {}
|
||||||
|
|
||||||
|
highlightjs-cobol@0.3.3:
|
||||||
|
dependencies:
|
||||||
|
minimist: 1.2.8
|
||||||
|
mkdirp: 1.0.4
|
||||||
|
|
||||||
highlightjs-cypher@1.2.0:
|
highlightjs-cypher@1.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
minimist: 1.2.8
|
minimist: 1.2.8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user