Fossil SCM

Clarify that markdown tables can have default per column alignments.

danield 2026-07-29 17:52 UTC trunk
Commit 7a131cfa173b0a198fda720b85fa3e444b05b3734d06b30d403e46e304c160d6
1 file changed +5 -2
+5 -2
--- src/markdown.md
+++ src/markdown.md
@@ -127,15 +127,18 @@
127127
| Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
128128
|:Left-aligned |:Centered :| Right-aligned:|
129129
| | ← Blank → | |
130130
| Row 4 Col 1 | Row 4 Col 2 | Row 4 Col 3 |
131131
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.
133134
134135
> Placing **:** at the left, both, or right sides of a cell gives left-aligned,
135136
> 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.
137140
138141
> The leftmost or rightmost **\|** is required only if the first or last column,
139142
> respectively, contains at least one blank cell.
140143
141144
## Diagrams ##
142145
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button