util/gen-html.js
function convertMarkdown(opts) {
  return new Promise((resolve, reject) => {
    marked(opts.data, {}, (err, content) => {
      if(err) return reject(err);
      return resolve(content);
    });
  });
}
function convertMarkdown(opts) {
  return new Promise((resolve, reject) => {
    marked(opts.data, {}, (err, content) => {
      if(err) return reject(err);
      return resolve(content);
    });
  });
}
function convertMarkdown ( opts ) { return new Promise ( ( resolve , reject ) => { marked ( opts . data , { } , ( err , content ) => { if ( err ) return reject ( err ) ; return resolve ( content ) ; } ) ; } ) ; }
Convert input to markdown, return data
@param {Object} opts
@param {String} opts.data
Convert input to markdown return data