Statically importing custom modes? #4804
Blakeinstein
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would be embedding ace editor into a webview, and would like to not provide paths for just a single custom js mode due to some limitations. I have plain regex token rules as of now.
What is the easiest way to achieve this? I am using parcel as the bundler. Which builds static files that are then fed into the webview.
I understand I for existing modes I can just import no-conflict variants and then use them. But how do I write one myself?
Beta Was this translation helpful? Give feedback.
All reactions