Skip to content

Commit

Permalink
Merge pull request pandao#80 from overtrue/patch-1
Browse files Browse the repository at this point in the history
RADEME.md code highlight.
  • Loading branch information
pandao committed May 6, 2015
2 parents 70c96eb + 61255de commit f3dd2e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,26 @@

Bower install :

```shell
bower install editor.md
```

#### Usages

HTML:

```html
<link rel="stylesheet" href="editormd.min.css" />
<div id="editormd">
<textarea style="display:none;">### Hello world!</textarea>
</div>
```

> Tip: Editor.md can auto append `<textarea>` tag;
javascript:

```html
<script src="jquery.min.js"></script>
<script src="editormd.min.js"></script>
<script type="text/javascript">
Expand All @@ -82,7 +87,8 @@ javascript:
*/
});
</script>

```

Using modular script loader :

- [Using Require.js](https://github.com/pandao/editor.md/tree/master/examples/use-requirejs.html)
Expand Down

0 comments on commit f3dd2e4

Please sign in to comment.