You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New createProcessor({ syntax, transforms, stringify }). One syntax list for parse and stringify, plus (tree) => void transforms that run after every parse.
createStreamParser({ transforms }). Block-local transforms run once on each settled block and on the live tail; every result equals createProcessor(...).parse(text).
New unravel(tree) in mdastic/mdx. Unwraps paragraphs of only JSX and expressions into flow nodes, like @mdx-js/mdx's remark-mark-and-unravel.
visit accepts [SKIP, index], like unist-util-visit: skip the node's children and continue at index.
Types assign to @types/mdast.MdxjsEsm is now only in RootContent, not FlowContent, matching mdast-util-mdxjs-esm, so mdastic trees are assignable to mdast trees.