Skip to content

Cairo Language support for the Monaco Editor

License

Notifications You must be signed in to change notification settings

assimovt/monaco-language-cairo

Repository files navigation

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.

About

Cairo Language support for the Monaco Editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published