Skip to content

Commit

Permalink
Fix to make value / children optional
Browse files Browse the repository at this point in the history
Example without both attributes: markdown `break` or `horizontalRule`
nodes.
  • Loading branch information
wooorm committed Sep 13, 2015
1 parent a048370 commit b7c4317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This document explains some terminology relating to
* must have a `type` property set to a to its namespace semantic
`string`;

* must have either a `value` property set to a `string` or a `children`
* may have either a `value` property set to a `string` or a `children`
property set to an array of one or more `Unist` nodes;

* may have a `data` property set to a `JSON.stringify`able object;
Expand Down

0 comments on commit b7c4317

Please # to comment.