Closed
Description
The abstract text interface (nodes with a value
) interferes with the type: "text"
node provided by hast and mdast (and the type: "TextNode"
provided by nlcst).
Another downside is that text
implies (and specifies) string
values on the value
field.
Say unist was used for programming values, the value of value
could be specified as number
, for example.
I’m open to other names, but I’m searching for something close to “raw”, “leaf”, and whatnot.
/CC @ChristianMurphy What do you think?