Replies: 2 comments 4 replies
-
@hue-ctrl Have you tried codeblocks? You can create one by clicking the paragraph icon on the left and selecting 'Insert code block' or by typing three backticks on an empty line. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@zadam sorry to bother you again, but could you kindly state if this is possible with https://github.com/zadam/trilium-ckeditor5? If there are no obvious reasons for this not to work, i will try to build a custom trilium-ckeditor5 but maybe there is a reason you did not included it from the start? |
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
-
I am still searching for a good way to "annotate" and "mark / highlight" (not syntax-highlight) code / program-output between normal text. For now, i paste the output to an note with a special #cssClass, but that makes it impossible to have "normal" text paragraphs in the same note.
I realized that it would be enough to be able to set multiple different font-families, especially a mono-spaced one, in the same note. This way, program-output could be set to monospace, and still be colored.
@zadam CKEditor seem to provide both, font-familiy support and support for marking text. Is this something which could be easily activated for trilium?
Beta Was this translation helpful? Give feedback.
All reactions