Skip to content

Commit b7c4317

Browse files
committed
Fix to make value / children optional
Example without both attributes: markdown `break` or `horizontalRule` nodes.
1 parent a048370 commit b7c4317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This document explains some terminology relating to
1919
* must have a `type` property set to a to its namespace semantic
2020
`string`;
2121

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

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

0 commit comments

Comments
 (0)