diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-18 12:42:28 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-18 12:42:28 +0000 |
commit | b7ab92c014cfd833377ac14f99043bbf032a95ff (patch) | |
tree | c86a5063870d346a4de95dd0f75064358ad6acd8 | |
parent | 6597cbfa48f814981e2298b2d4691229a21784fc (diff) | |
download | seivot-b7ab92c014cfd833377ac14f99043bbf032a95ff.tar.gz |
indent tables four spaces for markdown
-rwxr-xr-x | seivots-summary | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/seivots-summary b/seivots-summary index f77109b..7eca1ff 100755 --- a/seivots-summary +++ b/seivots-summary @@ -53,11 +53,11 @@ class Table(object): widths = self.compute_column_widths(cells) - f.write('%s\n' % self.format_headings(widths, 0)) - f.write('%s\n' % self.format_headings(widths, 1)) + f.write(' %s\n' % self.format_headings(widths, 0)) + f.write(' %s\n' % self.format_headings(widths, 1)) f.write('\n') for row in self.rows: - f.write('%s\n' % self.format_row(row, widths)) + f.write(' %s\n' % self.format_row(row, widths)) def align_cell(self, width, text, column): h1, h2, fmt, left = self.columns[column] |