Closed justinh-kairos closed 2 years ago
Update: It seems that this is because I have a definition list embedded in a blockquote element, like this:
> ## Title
>
> Term 1
> : Definition 1
> Term 2
> : Definition 2a
> : Definition 2b
There's a console error being logged:
Uncaught AssertionError [ERR_ASSERTION]: expected a chunkFlow found
Which seems to be coming from micromark-extension-definition-list.
Closing since this issue was moved to the appropriate project.
Trying to use this plugin with react-markdown, but Typescript is throwing an error.
The error is on the
handlers
line:If I'm understanding this correctly, it looks like mdast-util-definition-list needs to reference a newer version of mdast-util-to-hast?