Skip to content

feat(markdown): vertical space around rendered tables#7

Merged
frederikbeimgraben merged 1 commit into
mainfrom
feat/markdown-table-vspace
Jun 3, 2026
Merged

feat(markdown): vertical space around rendered tables#7
frederikbeimgraben merged 1 commit into
mainfrom
feat/markdown-table-vspace

Conversation

@frederikbeimgraben
Copy link
Copy Markdown
Owner

What

GFM pipe tables rendered flush against the surrounding text. Each table is now wrapped in \par\addvspace{0.8\baselineskip} above and below.

\addvspace (not \vspace) coalesces with adjacent spacing, so a table next to a heading or another block gets a single clean gap rather than a doubled one. \par ensures the space lands in vertical mode on both sides.

Verification

697 tests pass (new test asserts the wrapping); sample with a table compiles; ruff + mypy --strict + basedpyright clean.

🤖 Generated with Claude Code

GFM pipe tables rendered straight against the surrounding text with no
breathing room. Wrap each table in `\par\addvspace{0.8\baselineskip}`
above and below so it sits apart from adjacent paragraphs; `\addvspace`
coalesces with neighbouring spacing to avoid double gaps next to headings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@frederikbeimgraben frederikbeimgraben merged commit f5ee640 into main Jun 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant