serdarciplak / BlazorMonaco

Blazor component for Microsoft's Monaco Editor which powers Visual Studio Code.
https://serdarciplak.github.io/BlazorMonaco/
MIT License
454 stars 98 forks source link

Adding languages #58

Closed mihai-cloudbrick closed 1 year ago

mihai-cloudbrick commented 2 years ago

Hi, Im not an expert, but i want to add different languages. Right now im trying to add kusto and looks that its not working. Do you have any small tutorial on how to do it. I know its nut an issue, but will be much appreciated.

serdarciplak commented 1 year ago

Hi. BlazorMonaco does not currently support doing this in C#. But you can configure the language in javascript and use it via its name in C#. Have a look at the link below for configuring the language in js. https://ohdarling88.medium.com/4-steps-to-add-custom-language-support-to-monaco-editor-5075eafa156d