Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature request) Syntax highlight for code blocks #20

Open
eliandoran opened this issue Feb 17, 2024 · 2 comments
Open

(Feature request) Syntax highlight for code blocks #20

eliandoran opened this issue Feb 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@eliandoran
Copy link

eliandoran commented Feb 17, 2024

Describe feature

This goes without saying, it's one of the most requested features from the people I've known using Trilium for taking notes related to software development.

Additional Information

Some notes I've took in the past:

Apparently the syntax highlighting is not supported in the CKEditor, which is the reason that code blocks within text notes do not have syntax highlight.

Some works has already been done to try to integrate some kind of syntax highlight in CKEditor:

@liuxiawei
Copy link

Thanks to these efforts, can we realize the display of line numbers?

@meichthys
Copy link

Being worked on in #526

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants