Skip to content

Commit

Permalink
releases erd-editor-shiki-worker
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed Dec 22, 2023
1 parent 09e033e commit 312ccf3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
18 changes: 18 additions & 0 deletions packages/erd-editor-shiki-worker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# erd-editor-shiki-worker

> Code Highlight the on the sharedWorker
## Install

```shell
npm install @dineug/erd-editor-shiki-worker
```

## Usage

```js
import { setGetShikiServiceCallback } from '@dineug/erd-editor';
import { getShikiService } from '@dineug/erd-editor-shiki-worker';

setGetShikiServiceCallback(getShikiService);
```
1 change: 0 additions & 1 deletion packages/erd-editor-shiki-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@dineug/erd-editor-shiki-worker",
"version": "0.1.0",
"private": true,
"description": "Entity-Relationship Diagram Editor shiki-worker",
"type": "module",
"main": "./dist/erd-editor-shiki-worker.umd.cjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/erd-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Entity-Relationship Diagram Editor
![vuerd](https://github.com/dineug/erd-editor/blob/main/img/erd-editor-vscode.png?raw=true)
![erd-editor](https://github.com/dineug/erd-editor/blob/main/img/erd-editor-vscode.png?raw=true)

## Install

Expand Down Expand Up @@ -31,7 +31,7 @@ const editor = document.createElement('erd-editor');
```ts
interface ErdEditorElement extends HTMLElement {
readonly: boolean;
systemDarkMode: boolean;
systemDarkMode: boolean; // system dark/light auto
enableThemeBuilder: boolean;
value: string;
focus: () => void;
Expand Down

0 comments on commit 312ccf3

Please sign in to comment.