mdast utility to make trees compact: collapse adjacent text nodes and blockquotes.
npm install mdast-util-compact
var u =var compact =var tree =console
type: 'strong'children: type: 'text' value: 'alpha bravo'
Handles positional information properly.
mdast-squeeze-paragraphs— remove empty paragraphs
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.