1.0.0 • Published 8 years ago

injectmd v1.0.0

Weekly downloads
293
License
MIT
Repository
github
Last release
8 years ago

node-injectmd

npm version build status test coverage downloads js-standard-style

Inject markdown into markdown.

Usage

Given some markdown README.md:

<!--START main-header-->
<!--END main-header-->

## another section

Inject a header at <!--main-header-->:

printf '# best header ever' | injectmd -t main-header -i README.md

Creates:

<!--START main-header-->
# best header ever
<!--END main-header-->

## another section

Installation

$ npm install node-injectmd

Related packages

injectmd works well with any package / program that outputs Markdown to stdout.

PackagePurpose
https://www.npmjs.com/package/markdown-tocAdd a table of contents
https://www.npmjs.com/package/swagger-to-mdAdd Swagger specs

License

MIT