Skip to content

Commit e0ad17b

Browse files
committed
Update readme
1 parent dbe8600 commit e0ad17b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ This is recommended if you use other Vue components in your HTML page.
8484
This is suitable if you don't have other Vue components in your HTML page or you 'dislike' Vue. Note that this bundle includes Vue inside so it's larger.
8585

8686
```html
87-
<link rel="stylesheet" href="MarkdownPalettes.css">
87+
<link rel="stylesheet" href="markdown-palettes.css">
8888
<script src="markdown-palettes.js"></script>
8989
<div id="editor-container" style="height: 700px;">
9090
<div id="editor"></div>
9191
</div>
9292
<script>
9393
var markdownEditor = new MarkdownPalettes("#editor");
94-
markdownEditor.editor.setCode("Hello, **Markdown*Palettes**!");
95-
var code = markdownEditor.editor.getCode();
94+
markdownEditor.contenet = "**content**";
95+
var code = markdownEditor.content;
9696
</script>
9797
```
9898

0 commit comments

Comments
 (0)