lib/textblock.js
function(blocks) {
  var blockarr = blocks;
  if (!(blockarr instanceof Array)) {
    blockarr = [blockarr];
  }
  return {format: 'section', blocks: blockarr};
}
function(blocks) {
  var blockarr = blocks;
  if (!(blockarr instanceof Array)) {
    blockarr = [blockarr];
  }
  return {format: 'section', blocks: blockarr};
}
function ( blocks ) { var blockarr = blocks ; if ( ! ( blockarr instanceof Array ) ) { blockarr = [ blockarr ] ; } return { format : 'section' , blocks : blockarr } ; }
Convert one or more blocks into a section
@param {Object|Array} blocks A block or an array of blocks
@return {Object} A text block
Convert one or more blocks into a section