thlorenz / brace

📔 browserify compatible version of the ace editor.
http://thlorenz.github.io/brace/
MIT License
1.06k stars 304 forks source link

Using highlight.js with ace / brace #144

Open akontsevich opened 5 years ago

akontsevich commented 5 years ago

If some language is absent in https://github.com/thlorenz/brace/tree/master/mode is it possible to use highlight.js somehow to highlight specified language in Brace/Ace Editor? Or need to create mode file for the language? I'm actually talking about QML.

StoneCypher commented 5 years ago

The way to handle it would be to add the language to ACE then to update Brace

akontsevich commented 5 years ago

Yes, created ticket there as well: https://github.com/ajaxorg/ace/issues/3809 There is QML module already: https://github.com/Parnswir/ace-mode-qml/ - just need to add it to ace and update brace which seems was not updated for about a 1 year.

StoneCypher commented 5 years ago

I'm in the middle of trying to get that done now :)

153