src/bin/nopg.js
function markdown_table (headers, table) {
	// FIXME: Implement better markdown table formating
	return ARRAY([headers, [ "---", "---" ]]).concat(table).map(cols => '| ' + ARRAY(cols).join(' | ') + ' |').join('\n');
}
function markdown_table (headers, table) {
	// FIXME: Implement better markdown table formating
	return ARRAY([headers, [ "---", "---" ]]).concat(table).map(cols => '| ' + ARRAY(cols).join(' | ') + ' |').join('\n');
}
function markdown_table ( headers , table ) { // FIXME: Implement better markdown table formating return ARRAY ( [ headers , [ "---" , "---" ] ] ) . concat ( table ) . map ( cols => '| ' + ARRAY ( cols ) . join ( ' | ' ) + ' |' ) . join ( '\n' ) ; }
Returns markdown formated table

@param headers
@param table
@returns {number}
Returns markdown formated table