Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-flames committed Feb 18, 2019
1 parent dbe8600 commit e0ad17b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ This is recommended if you use other Vue components in your HTML page.
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.

```html
<link rel="stylesheet" href="MarkdownPalettes.css">
<link rel="stylesheet" href="markdown-palettes.css">
<script src="markdown-palettes.js"></script>
<div id="editor-container" style="height: 700px;">
<div id="editor"></div>
</div>
<script>
var markdownEditor = new MarkdownPalettes("#editor");
markdownEditor.editor.setCode("Hello, **Markdown*Palettes**!");
var code = markdownEditor.editor.getCode();
markdownEditor.contenet = "**content**";
var code = markdownEditor.content;
</script>
```

Expand Down

0 comments on commit e0ad17b

Please sign in to comment.