diff --git a/README.md b/README.md index f1424c5e35..467b88cbdb 100644 --- a/README.md +++ b/README.md @@ -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'; @@ -57,7 +57,7 @@ ReactDOM.render( Because Draft.js supports unicode, you must have the following meta tag in the `
` `` block of your HTML file: -``` +```html ``` Further examples of how Draft.js can be used are provided below.