An open API service indexing awesome lists of open source software.

https://github.com/ydb-platform/monaco-yql-languages


https://github.com/ydb-platform/monaco-yql-languages

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# monaco-yql-languages · [![npm package](https://img.shields.io/npm/v/monaco-yql-languages)](https://www.npmjs.com/package/monaco-yql-languages) [![CI](https://img.shields.io/github/actions/workflow/status/ydb-platform/monaco-yql-languages/.github/workflows/ci.yml?label=CI&logo=github)](https://github.com/ydb-platform/monaco-yql-languages/actions/workflows/ci.yml?query=branch:main)

## Install

```
npm install --save monaco-editor monaco-editor-webpack-plugin monaco-yql-languages
```

## Usage

Add `customLanguages` section to monaco-editor-webpack-plugin options:

```json
{
"customLanguages": [{"label": "yql", "entry": "monaco-yql-languages/build/monaco.contribution"}]
}
```

This adds colorization for languages `yql (yql_ansi)`, `s-expression` and `clickhouse`