1.0.0 • Published 10 years ago
injectmd v1.0.0
node-injectmd
Inject markdown into markdown.
Usage
Given some markdown README.md:
<!--START main-header-->
<!--END main-header-->
## another sectionInject a header at <!--main-header-->:
printf '# best header ever' | injectmd -t main-header -i README.mdCreates:
<!--START main-header-->
# best header ever
<!--END main-header-->
## another sectionInstallation
$ npm install node-injectmdRelated packages
injectmd works well with any package / program that outputs Markdown to stdout.
| Package | Purpose |
|---|---|
| https://www.npmjs.com/package/markdown-toc | Add a table of contents |
| https://www.npmjs.com/package/swagger-to-md | Add Swagger specs |
License
1.0.0
10 years ago