Skip to content

Commit

Permalink
docs: add missing init() call in example code. (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfwz100 authored Mar 6, 2024
1 parent d0b78cc commit 0432cf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import Muya from '@marktext/muya'

const container = document.querySelector('#editor')
const muya = new Muya(container)
muya.init();
```

## Documents
Expand Down

0 comments on commit 0432cf0

Please sign in to comment.