Skip to content

Commit 24615f3

Browse files
committed
Add note about non-list-items in lists
Related to remarkjs/remark#269.
1 parent 0c5c986 commit 24615f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ Yields:
261261

262262
### `List`
263263

264-
`List` ([`Parent`][parent]) contains [`ListItem`s][listitem].
264+
`List` ([`Parent`][parent]) contains [`ListItem`s][listitem]. No other nodes
265+
may occur in lists.
265266

266267
The `start` property contains the starting number of the list when
267268
`ordered: true`; `null` otherwise.

0 commit comments

Comments
 (0)