Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Feb 8, 2016
1 parent 18ddc1d commit 94bb0a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,15 @@ optionally a Mobiledoc to load. For example:

```js
var simpleMobiledoc = {
version: "0.1",
sections: [[], [
version: "0.3.0",
markups: [],
atoms: [],
cards: [],
sections: [
[1, "p", [
[[], 0, "Welcome to Mobiledoc"]
[0, [], 0, "Welcome to Mobiledoc"]
]]
]]
]
};
var element = document.querySelector('#editor');
var options = { mobiledoc: simpleMobiledoc };
Expand Down

0 comments on commit 94bb0a3

Please sign in to comment.