Remove nodes from a unified AST with unist-util-remove
.
Combine it with unist-util-visit
to remove a node type from within a parent context.
git clone https://github.com/johno/egghead-lessons
cd egghead-lessons/unist-util-remove
yarn
yarn start
open index.html