npm md to html code example
Example: npm md to html
import md2html from 'md-to-html'; const promise = md2html('foo.md', 'bar.html', { breaks: true, maxdepth: 2, title: 'page-title'});
import md2html from 'md-to-html'; const promise = md2html('foo.md', 'bar.html', { breaks: true, maxdepth: 2, title: 'page-title'});