Skip to content

Mode for editor#475

Open
SimonHeimberg wants to merge 2 commits intovidelais:mainfrom
SimonHeimberg:mode-for-editor
Open

Mode for editor#475
SimonHeimberg wants to merge 2 commits intovidelais:mainfrom
SimonHeimberg:mode-for-editor

Conversation

@SimonHeimberg
Copy link

@SimonHeimberg SimonHeimberg commented May 10, 2022

Syntax highlighting mode for editor

it is the markdown mode from CodeMirror with small adaptions, mainly <% %> for template of javascript code
@SimonHeimberg
Copy link
Author

SimonHeimberg commented May 10, 2022

This changes are not tested since I do not have (yet) the proper infrastructure. It could work, but this would be a lot of good luck. It shows a simple way how syntax highlighting could be implemented.

Maybe there is a better way to use the markdown module of codemirror than copying and adapting.

@videlais videlais mentioned this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant