Y A C E

yet anoter code editor
## Features

- ~1KB gzipped, with zero dependencies.
- binding hotkey and enhance with plugins.
- adding any highlighter.

## Getting started

1. Install via npm `npm i yace`
2. Create DOM node `<div id="editor"></div>`
3. Initializing editor:

```js
import Yace from "yace";

const editor = new Yace("#editor", {
value: "your awesome code",
lineNumbers: true,
});
```

1## Features
2
3- ~1KB gzipped, with zero dependencies.
4- binding hotkey and enhance with plugins.
5- adding any highlighter.
6
7## Getting started
8
91. Install via npm `npm i yace`
102. Create DOM node `<div id="editor"></div>`
113. Initializing editor:
12
13```js
14import Yace from "yace";
15
16const editor = new Yace("#editor", {
17  value: "your awesome code",
18  lineNumbers: true,
19});
20```
21

Live Demo




Links

github · npm · twitter