1.0.2 • Published 10 years ago
tpl_md v1.0.2
tpl_md
compile markdown(using marked) with tpl
Install
npm i -S tpl_mdUsages
var tpl_md = require('tpl_md')
// way 0
tpl_md('markdown_file_name')
// way 1
tpl_md( 'markdown_file_name', 'dest_file_name')
// way 2
tpl_md('markdown_file_name' , 'dest_file_name',  'template_file_name')
// way 3
tpl_md('markdown_file_name' , 'dest_file_name', 'template_file_name', {
  gfm: true,
   tables: true,
   breaks: false,
   pedantic: false,
   sanitize: true,
   smartLists: true,
   smartypants: false
})