1.0.2 • Published 9 years ago

tpl_md v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

tpl_md

compile markdown(using marked) with tpl

Install

npm i -S tpl_md

Usages

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
})