Skip to content

feat: default @block align to centerLeft#69

Open
tilucasoli wants to merge 1 commit into
btwld:mainfrom
tilucasoli:tilucasoli/issue-65
Open

feat: default @block align to centerLeft#69
tilucasoli wants to merge 1 commit into
btwld:mainfrom
tilucasoli:tilucasoli/issue-65

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Summary

  • Closes Change @block default align to centerLeft #65. @block (ContentBlock) now defaults to centerLeft so paragraph-style content reads naturally; @widget keeps center.
  • Updates block-types, markdown-syntax, and markdown-authoring docs to reflect the new per-type default.
  • Adds behavior tests covering both defaults; existing decks can restore the prior default explicitly with align: center.

Test plan

  • fvm flutter test test/src/behavior/ (47 passing)
  • fvm flutter test test/src/rendering/ (45 passing)
  • Regenerate ci-excluded goldens (plain_markdown_slide.png, section_two_blocks.png) which use the default alignment

🤖 Generated with Claude Code

Closes btwld#65. ContentBlock now defaults to centerLeft when no align is
specified; WidgetBlock keeps center. Docs and behavior tests updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page Bot commented May 9, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/superdeck~69

Documentation is deployed and generated using docs.page.

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.

Change @block default align to centerLeft

1 participant