The phone learns to read whole blocks — CardBodyView renders BodyMarkup's full tree, and the title falls in line

The read view's inline-only AttributedString shim gives way to a real
block renderer over BodyMarkup — the same parse the Mac Preview trusts,
whose swift-markdown dependency project.yml said was already riding
along for exactly this surface. Headings, nested lists with static task
checkboxes, quotes, GFM tables with per-column alignment and clamped
colspans, sideways-scrolling code blocks, literal HTML, dividers, and
tappable absolute links (relative ones stay prose — no folder to
resolve against). The title block sheds its inner padding so its
leading edge sits flush with the body; the tint now grows outward via
a negative background inset instead of pushing the text in. One rich
fixture card body enriched to exercise every block kind; Mac fixture
round-trip suites verified green against it.

Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
This commit is contained in:
2026-08-08 15:22:36 -04:00
parent a8e8dd13d4
commit 2516c4ba5d
4 changed files with 485 additions and 50 deletions
+2
View File
@@ -1,5 +1,7 @@
**August 2026**
Card text now renders full Markdown — headings, lists with checkboxes, quotes, tables, and code blocks — instead of plain paragraphs.
Tapping a card now shows a readable view of its title and text with formatting, instead of dropping straight into the editor.
Editing a card happens on its own screen with Details and Body sections, and changes apply only when you tap Save.