code: function(block) {
    switch(block.t) {
      case 'Paragraph':
      case 'SetextHeader':
      case 'ATXHeader':
        block.inline_content =
          this.inlineParser.parse(block.string_content.trim(), this.refmap);
        block.string_content = "";
        break;
      default:
        break;
    }
  
    if (block.children) {
      for (var i = 0; i < block.children.length; i++) {
        this.processInlines(block.children[i]);
      }
    }
  
  }
docs: Walk through a block & children recursively, parsing string content into inline content where appropriate.