-
-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface🦋 type/enhancementThis is great to haveThis is great to have🧑 semver/majorThis is a changeThis is a change
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?
ChristianMurphy
Metadata
Metadata
Assignees
Labels
💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface🦋 type/enhancementThis is great to haveThis is great to have🧑 semver/majorThis is a changeThis is a change