Replies: 1 comment 1 reply
-
Trilium(Next) uses CodeMirror 5 for code notes. Adding a new language to code notes requires adding a new language mode and then adding the corresponding mode to the language list, in addition to telling CodeMirror to find your mode files. Unfortunately, adding a new language entry to the list might be the most easy part of this whole journey. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to add a new language type to Code Notes?
in my case, DOS/Windows Batch or CMD syntax.
Beta Was this translation helpful? Give feedback.
All reactions