Mercurial > public > mercurial-scm > hg
diff tests/test-minirst.py.out @ 15037:df47381b41d6
minirst: add simple table support
This adds a subset of the 'simple table' support from RST to allow
formatting of options lists through RST. Table columns are
automatically sized based on contents, with line wrapping in the last
column.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 11 Aug 2011 22:05:57 -0500 |
parents | 4936a04b6792 |
children | c981f4a9ea74 |
line wrap: on
line diff
--- a/tests/test-minirst.py.out Thu Aug 11 22:05:31 2011 -0500 +++ b/tests/test-minirst.py.out Thu Aug 11 22:05:57 2011 -0500 @@ -388,3 +388,15 @@ Empty comment above ---------------------------------------------------------------------- +table formatted to fit within 30 characters: +---------------------------------------------------------------------- + a b c + ------------------------------ + 1 2 3 + foo bar baz + aa bb sdfsdfsdf this line + is way too long for + this cell. + +---------------------------------------------------------------------- +