0.0.1 • Published 2 years ago

monaco-language-cairo v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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-cairo

Import 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.