 
         formatted.splice(formatrow, 0, [formatline]);
 
-        return formatted.join('\n')
+        return formatted.join('\n')+'\n'
 
 module.exports =
     config:

            else
                return string

        lines = text.split('\n')
        rows = lines.length

        formatline = lines[1]
        formatrow = 1
        for line, i in lines
            if !/\w/.exec(line)
                formatline = line
                formatrow = i
                # console.log(formatline)
                # console.log(formatrow)
                break

        removeFormatRow = (s) ->
             return /\w/.exec(s)

        lines = lines.filter(removeFormatRow)
        # console.log(lines)

        formatline = formatline.trim().replace(/(^\||\|$)/g,"")
        fstrings = formatline.split('|')
        justify = []
        for cell in fstrings
            ends = cell[0] + (cell[cell.length-1] || '')
            if ends == '::'
                justify.push('::')

        # console.log('myIterator')
        myIterator = (obj) =>
            # console.log('iterating')
            obj.replace(@formatTable(obj.match))

        for range in selectionsRanges
            # console.log(@regex)
