Skip to content

fix(survey-writer): center-align the article title - #27

Open
chenpeizhi wants to merge 1 commit into
QuantumBFS:mainfrom
chenpeizhi:survey-writer-center-title
Open

fix(survey-writer): center-align the article title#27
chenpeizhi wants to merge 1 commit into
QuantumBFS:mainfrom
chenpeizhi:survey-writer-center-title

Conversation

@chenpeizhi

Copy link
Copy Markdown

Summary

The survey-writer Typst template rendered the article title left-aligned, while the subtitle, author, and date block directly beneath it were already centered. This wraps the title heading in #align(center) so the whole title block is consistent.

-#heading(numbering: none)[#title]
+#align(center)[#heading(numbering: none)[#title]]

Test plan

  • Compiled skills/survey-writer/template.typ with typst compile — no errors.
  • Rendered page 1 to PNG and confirmed visually that the title is centered above the existing centered subtitle/author block.

SKILL.md carries no title-layout instructions, so template.typ is the only place the title is laid out.

🤖 Generated with Claude Code

The template's title heading rendered left-aligned while the subtitle,
author, and date block directly beneath it were already centered. Wrap
the heading in `#align(center)` so the whole title block is consistent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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