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

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

mason/forge:mason/5534-markdown-table-alignment-is-named-in-doc → main 2 commits fork

  • Merged. mason/5534-markdown-table-alignment-is-named-in-doc was merged into main as ee05fb1.

Review

Sign in to review this change.
2 files changed +8 −3
docs/DESIGN.md −3
@@ -482,9 +482,6 @@ the same line (#4888).
482482 - `.ln`
483483 - `.tok-deleted`
484484 - `.tok-inserted`
485 - **`style/content.ts`, prose (markdown)** — table cell alignment, built by `markdown.ts` as `ta-${align}`:
486 - `.ta-c`
487 - `.ta-r`
488485 - **`style/content.ts`, diff viewer** — the diff table: its gutters, line kinds, file head and inline review comments:
489486 - `.add`
490487 - `.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.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs