src/lib/gfm.js
function Cell (node, content) {
  let index = 0
  if (node.parentNode && node.parentNode.childNodes) {
    index = Util.arrayIndexOf(node.parentNode.childNodes, node)
  }

  const prefix = (index === 0 ? '| ' : ' ')
  return prefix + content + ' |'
}
function Cell (node, content) {
  let index = 0
  if (node.parentNode && node.parentNode.childNodes) {
    index = Util.arrayIndexOf(node.parentNode.childNodes, node)
  }

  const prefix = (index === 0 ? '| ' : ' ')
  return prefix + content + ' |'
}
function Cell ( node , content ) { let index = 0 if ( node . parentNode && node . parentNode . childNodes ) { index = Util . arrayIndexOf ( node . parentNode . childNodes , node ) } const prefix = ( index === 0 ? '| ' : ' ' ) return prefix + content + ' |' }
Convert the DOM node to cell text of the table.

@param {Node} node DOM node.
@param {String} content Content text.

@return {String} Cell text.
Convert the DOM node to cell text of the table .