File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ See [**nlcst**][nlcst] for more information on **retext** nodes,
4848
4949A Node represents any unit in the Unist hierarchy. It is an abstract
5050interface. Interfaces extending ** Node** must have a ` type ` property,
51- and may have ` data ` or ` position ` properties. ` type ` s are defined by
52- their namespace.
51+ and may have ` data ` or ` position ` properties. The value of node [ type ] [ ] s
52+ are defined by their namespace.
5353
5454Subsets of Unist are allowed to define properties on interfaces which
5555extend Unist’s abstract interfaces. For example, [ mdast] [ ] defines
@@ -187,6 +187,10 @@ The **head** of a node is its first [child][] (if any).
187187
188188The ** tail** of a node is its last [ child] [ ] (if any).
189189
190+ ###### Type
191+
192+ The ** type** of a node is the value of its ` type ` property.
193+
190194## Unist files
191195
192196** Unist files** are virtual files (such as [ ** vfile** ] [ vfile ] )
@@ -344,3 +348,5 @@ Thanks to [**@azu**](https://github.com/azu),
344348[ index ] : #index
345349
346350[ tree ] : #tree
351+
352+ [ type ] : #type
You can’t perform that action at this time.
0 commit comments