lib/docx-renderer.js
/**
   * Render heading markdown element
   * @param {Object} elem - Marked.js element object
   */
Render heading markdown element
@param {Object} elem - Marked.js element object
Render heading markdown element @param { Object } elem - Marked . js element object
heading(elem) {
    let style = this.opts['heading-' + elem.depth] || this.opts['default'] || {};
    let pObj = this.doc.createP();
    pObj.addText(elem.text, style);
  }
heading ( elem ) { let style = this . opts [ 'heading-' + elem . depth ] || this . opts [ 'default' ] || { } ; let pObj = this . doc . createP ( ) ; pObj . addText ( elem . text , style ) ; }
Render heading markdown element
 @param {Object} elem - Marked.js element object
Render heading markdown element @param { Object } elem - Marked . js element object