lib/docx-renderer.js
/**
   * Render paragraph markdown element
   * @param {Object} elem - Marked.js element object
   */
Render paragraph markdown element
@param {Object} elem - Marked.js element object
Render paragraph markdown element @param { Object } elem - Marked . js element object
paragraph(elem) {
    let block = this.blocks.slice(-1)[0];
    let style = this.opts.paragraph || this.opts['default'] || {};
    if (block && block.type === 'blockquote') {
      style = this.opts.blockquote || this.opts.default || {};
    }
    let pObj = this.doc.createP();
    pObj.addText(elem.text, style);
  }
paragraph ( elem ) { let block = this . blocks . slice ( - 1 ) [ 0 ] ; let style = this . opts . paragraph || this . opts [ 'default' ] || { } ; if ( block && block . type === 'blockquote' ) { style = this . opts . blockquote || this . opts . default || { } ; } let pObj = this . doc . createP ( ) ; pObj . addText ( elem . text , style ) ; }
Render paragraph markdown element
 @param {Object} elem - Marked.js element object
Render paragraph markdown element @param { Object } elem - Marked . js element object