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

Import highlight definitions from monaco #53

Open
Artoria2e5 opened this issue Oct 10, 2018 · 0 comments
Open

Import highlight definitions from monaco #53

Artoria2e5 opened this issue Oct 10, 2018 · 0 comments

Comments

@Artoria2e5
Copy link

Artoria2e5 commented Oct 10, 2018

Microsoft has a monaco highlighting repo at https://github.com/Microsoft/monaco-languages. The ILanguage structure exported by each highlighter appears highly homologous to madoko's syntax definitions. Perhaps someone can write a script to assiminate highlighting rules from Monaco?


Yeah, they are the same thing. ILanguage is monaco.languages.IMonarchLanguage, and we all know what Monarch is. The comments are arranged a bit differently, and the names are in a "contrib" file. Since the whole thing is open sourced under VSCode now, someone can probably come in and turn the Monarch blob into a more proper npm dependency while switching to the new highlighters...

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

No branches or pull requests

1 participant