Skip to content

Tabcorp/injectmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 injectmd

Related 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

MIT

About

Inject markdown into markdown

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors