Closed NullVoxPopuli closed 3 years ago
I was able to determine this:
[
{
type: 'html',
position: { start: [Object], end: [Object] },
value: '<Nested::Component>'
},
{
type: 'text',
value: '\nsome text\n</Nested::Component>',
position: { start: [Object], end: [Object] }
}
]
but like... if that node is text, idk what to do with it :thinking: maybe the plugin needs to keep track of the open tags, and see if a closing tag exists in text nodes?
Answer: nope. This was much easier than expected
Published in v0.3.3.
I did some refactoring a bit, too -- to separate out fixture tests from manual test so that we can focus on individual problems, rather than rely on on big markdown files -- with node --inspect-brk and jest test name matching, it also means we'll be able to debug easier, too