code: function mktag(name, html, css, attrs, js, pcex) {
    var
      c = ', ',
      s = '}' + (pcex.length ? ', ' + q(pcex._bp[8]) : '') + ');'
  
    // give more consistency to the output
    if (js && js.slice(-1) !== '\n') s = '\n' + s
  
    return 'riot.tag2(\'' + name + "'" + c + q(html) + c + q(css) + c + q(attrs) +
           ', function(opts) {\n' + js + s
  }
docs: Generates the `riot.tag2` call with the processed parts.