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