monaco-language-cairo
v0.0.1
Published
Cairo Language support for the Monaco Editor
Readme
Cairo Language support for the Monaco Editor
This repository adds Cairo Language syntax highlighting to the Monaco Editor.
How to use it
Add monaco-language-cairo NPM package to your dependencies:
$ yarn add monaco-language-cairoImport registerCairoLanguageSupport and apply to the monaco instance:
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'
import { registerCairoLanguageSupport } from 'monaco-language-cairo'
// somewhere in the code
registerCairoLanguageSupport(monaco)Issues
If you find any issues with this package or want to improve language tokenization, feel free to create a GitHub issue.
License
Licensed under the MIT License.
