All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
8 | normal |no space| 2 spaces ||
10 | normal |no space| 2 spaces ||
12 Execute (format unformatted table):
15 Expect (table is formatted):
16 | normal | no space | 2 spaces | |
17 |--------|----------|----------|--|
18 | normal | no space | 2 spaces | |
25 Execute (format well formatted table):
28 Expect (table is not modified):
33 Given markdown (indented table);
38 Execute (format well formatted, indented table):
41 Expect (table is not modified):
47 | left |right| center ||
49 | left |right| center ||
51 Execute (format table with colons):
54 Expect (preserve colons to align text):
55 | left | right | center | |
56 |:-----|------:|:------:|:--|
57 | left | right | center | |
59 Given markdown (indented table with colons);
60 | left |right| center ||
62 | left |right| center ||
64 Execute (format indented table with colons):
67 Expect (preserve colons to align text):
68 | left | right | center | |
69 |:-----|------:|:------:|:--|
70 | left | right | center | |
72 Given markdown (borderless table);
77 Execute (format borderless table):
78 let g:vim_markdown_borderless_table = 1
80 unlet g:vim_markdown_borderless_table
82 Expect (table with borders):
83 | left | right | center |
84 |:-----|------:|:------:|
85 | left | right | center |