Fossil SCM
Clarify that markdown tables can have default per column alignments.
Commit
7a131cfa173b0a198fda720b85fa3e444b05b3734d06b30d403e46e304c160d6
Parent
5354447e329e1b6…
1 file changed
+5
-2
+5
-2
| --- src/markdown.md | ||
| +++ src/markdown.md | ||
| @@ -127,15 +127,18 @@ | ||
| 127 | 127 | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
| 128 | 128 | |:Left-aligned |:Centered :| Right-aligned:| |
| 129 | 129 | | | ← Blank → | | |
| 130 | 130 | | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 | |
| 131 | 131 | |
| 132 | -> The first row is a header if followed by a horizontal rule or a blank line. | |
| 132 | +> The first row is a header if followed by a line consisting only of whitespace, | |
| 133 | +> dashes, colons, or pipes. | |
| 133 | 134 | |
| 134 | 135 | > Placing **:** at the left, both, or right sides of a cell gives left-aligned, |
| 135 | 136 | > centered, or right-aligned text, respectively. By default, both header and |
| 136 | -> body cells are left-aligned. | |
| 137 | +> body cells are left-aligned. If there are properly placed pipes and colons | |
| 138 | +> within the line following the header, then these mandate the default | |
| 139 | +> alignments for the respective columns. | |
| 137 | 140 | |
| 138 | 141 | > The leftmost or rightmost **\|** is required only if the first or last column, |
| 139 | 142 | > respectively, contains at least one blank cell. |
| 140 | 143 | |
| 141 | 144 | ## Diagrams ## |
| 142 | 145 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -127,15 +127,18 @@ | |
| 127 | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
| 128 | |:Left-aligned |:Centered :| Right-aligned:| |
| 129 | | | ← Blank → | | |
| 130 | | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 | |
| 131 | |
| 132 | > The first row is a header if followed by a horizontal rule or a blank line. |
| 133 | |
| 134 | > Placing **:** at the left, both, or right sides of a cell gives left-aligned, |
| 135 | > centered, or right-aligned text, respectively. By default, both header and |
| 136 | > body cells are left-aligned. |
| 137 | |
| 138 | > The leftmost or rightmost **\|** is required only if the first or last column, |
| 139 | > respectively, contains at least one blank cell. |
| 140 | |
| 141 | ## Diagrams ## |
| 142 |
| --- src/markdown.md | |
| +++ src/markdown.md | |
| @@ -127,15 +127,18 @@ | |
| 127 | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
| 128 | |:Left-aligned |:Centered :| Right-aligned:| |
| 129 | | | ← Blank → | | |
| 130 | | Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 | |
| 131 | |
| 132 | > The first row is a header if followed by a line consisting only of whitespace, |
| 133 | > dashes, colons, or pipes. |
| 134 | |
| 135 | > Placing **:** at the left, both, or right sides of a cell gives left-aligned, |
| 136 | > centered, or right-aligned text, respectively. By default, both header and |
| 137 | > body cells are left-aligned. If there are properly placed pipes and colons |
| 138 | > within the line following the header, then these mandate the default |
| 139 | > alignments for the respective columns. |
| 140 | |
| 141 | > The leftmost or rightmost **\|** is required only if the first or last column, |
| 142 | > respectively, contains at least one blank cell. |
| 143 | |
| 144 | ## Diagrams ## |
| 145 |