summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-12-18 12:42:28 +0000
committerLars Wirzenius <liw@liw.fi>2011-12-18 12:42:28 +0000
commitb7ab92c014cfd833377ac14f99043bbf032a95ff (patch)
treec86a5063870d346a4de95dd0f75064358ad6acd8
parent6597cbfa48f814981e2298b2d4691229a21784fc (diff)
downloadseivot-b7ab92c014cfd833377ac14f99043bbf032a95ff.tar.gz
indent tables four spaces for markdown
-rwxr-xr-xseivots-summary6
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]