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