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

Replace highlight.js with CodeMirror's code editor #61

Open
fmaclen opened this issue Jul 5, 2024 · 0 comments
Open

Replace highlight.js with CodeMirror's code editor #61

fmaclen opened this issue Jul 5, 2024 · 0 comments
Labels
tech-debt Stuff that works, but could be optimized

Comments

@fmaclen
Copy link
Owner

fmaclen commented Jul 5, 2024

When we parse markdown in sessions we use highlight.js for syntax highlighting of <code> blocks.
In #58 we introduced CodeMirror which also has syntax highlighting for a variety of programming languages.

Ideally we wouldn't need 2 different libraries for syntax highlighting and we can probably use CodeMirror for everything.

Needless to say, this instance of CodeMirror should be readonly

@fmaclen fmaclen added the tech-debt Stuff that works, but could be optimized label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Stuff that works, but could be optimized
Projects
None yet
Development

No branches or pull requests

1 participant