md-content
get content from markdown article
Install
npm install --save md-content
Usage
; const content_with_header_and_img = `# header_20 June 2016_ #tag1 #tag #tag3; ![alt](http://yo.io/) content1 content2## header2`; html// <p><img src="http://yo.io/" alt="alt"></p>// <p>content1</p>// <p>content2</p>// <h2>header2</h2> text// <img src="http://yo.io/" alt="alt">// content1// content2// header2
API
getContent(input)
input
Required
Type: String
Markdown string.
Related
- md-article - extract data from your markdown article
License
MIT © Aleksandr Filatov