Skip to content

Commit

Permalink
Improve README.md
Browse files Browse the repository at this point in the history
Added syntax highlight
  • Loading branch information
marcelometal authored and ouchxp committed Apr 7, 2017
1 parent 81e6760 commit 40fd125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ npm install --save draft-js react react-dom

### Using Draft.js

```
```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import {Editor, EditorState} from 'draft-js';
Expand All @@ -57,7 +57,7 @@ ReactDOM.render(

Because Draft.js supports unicode, you must have the following meta tag in the `<head>` `</head>` block of your HTML file:

```
```html
<meta charset="utf-8" />
```
Further examples of how Draft.js can be used are provided below.
Expand Down

0 comments on commit 40fd125

Please sign in to comment.