PostMD
Usage
npm i -S postmd
const PostMD = ;const bemjson = ;const json =;console;// [{"tag":"p","content":["I am using ",{"tag":"strong","content":["markdown"]},"."],"block":"md-paragraph"},"\n"]
PostMD(md, options) ⇒ Object.<{String | PostHTMLTree>
PostMD Options
parser
- custom mardown parsertransform
format
- result kind:'html'|'json'
plugins
<Function|Array> - transform plugins