ant-editordeprecated

Ant monaco with vscode-textmate. This module can only run under node runtime

Usage no npm install needed!

<script type="module">
  import antEditor from 'https://cdn.skypack.dev/ant-editor';
</script>

README

Ant Editor

This monaco is from vscode monaco-editor, but I add a tokenize2 api for this monaco and allow it to use Uint32Array directly. Mostly it will be used with vscode-textmat under electron or nw.js. And it can use vscode language extensions and theme extensions directly.

Install

npm i

npm run rebuild

Start

run example, you can drag file into editor.

npm run start

build

npm run build

watch

npm run dev