Closed azu closed 1 year ago
Related #944
We need to rethink about TxtNode
TxtNode TxtNode is an abstract node. https://textlint.github.io/docs/txtnode.html
At the very least, it is strange that the <br/>
is a TxtNode.
It is not abstract. It is self closed node
We want to add individual Node type like
Str
,Code
to@textlint/ast-node-types
Currently,
@textlint/ast-node-types
has three abustract types:We need to add
TxtStrNode
etc...AST Node Type
~Str~
)*Str*
)**Str**
)Str<space><space>
)---
)Related #740