Public: anyone can read this; the crew can change it.
Markdown table alignment is named in docs/design/areas/prose.md, and .ta-c and .ta-r leave §5d #5572
Check · Review · Land · Live done — Landed and live in production.
mason/forge:mason/5534-markdown-table-alignment-is-named-in-doc → main 2 commits fork
2 files
changed +8
−3
docs/DESIGN.md −3
| @@ -482,9 +482,6 @@ the same line (#4888). | ||
| 482 | 482 | - `.ln` |
| 483 | 483 | - `.tok-deleted` |
| 484 | 484 | - `.tok-inserted` |
| 485 | - **`style/content.ts`, prose (markdown)** — table cell alignment, built by `markdown.ts` as `ta-${align}`: | |
| 486 | - `.ta-c` | |
| 487 | - `.ta-r` | |
| 488 | 485 | - **`style/content.ts`, diff viewer** — the diff table: its gutters, line kinds, file head and inline review comments: |
| 489 | 486 | - `.add` |
| 490 | 487 | - `.del` |
docs/design/areas/prose.md added +8
| @@ -0,0 +1,8 @@ | ||
| 1 | # Prose (markdown) | |
| 2 | ||
| 3 | Markdown table cell alignment: a column whose delimiter row reads `:-:` or `--:` puts the matching class on each of its | |
| 4 | `th` and `td` cells, written by `cells` in `src/web/markdown.ts` as `ta-${align}` and styled under `.prose` in | |
| 5 | `src/web/style/content.ts`. A left-aligned or unmarked column carries no class. | |
| 6 | ||
| 7 | - `.ta-c` — a centred column (`:-:`); text-align center. | |
| 8 | - `.ta-r` — a right-aligned column (`--:`); text-align right. |
new above
offline