anandthakker

anandthakker/mdast-util-inject

Mdast utility to inject some markdown content into some other markdown at a certain heading

JavaScript
10
3
No license

`mdast-util-inject` is an [mdast](https://github.com/wooorm/mdast) utility for injecting markdown content into another markdown document at a specific heading, automatically adjusting heading levels to maintain structure. It's designed for developers working with mdast ASTs who need to programmatically merge markdown documents while preserving heading hierarchy. The utility modifies the target AST in place and returns a boolean indicating whether the injection was successful.

Total donated
Undistributed
Share with your subscribers: