Skip to content

fix: make template metadata line breaks markdownlint-safe#2505

Open
WOLIKIMCHENG wants to merge 1 commit intogithub:mainfrom
WOLIKIMCHENG:fix-template-line-breaks-1343
Open

fix: make template metadata line breaks markdownlint-safe#2505
WOLIKIMCHENG wants to merge 1 commit intogithub:mainfrom
WOLIKIMCHENG:fix-template-line-breaks-1343

Conversation

@WOLIKIMCHENG
Copy link
Copy Markdown

@WOLIKIMCHENG WOLIKIMCHENG commented May 9, 2026

Summary

  • Replace trailing-space Markdown hard breaks in core templates with explicit blank lines
  • Separate template metadata fields so markdownlint/editor auto-fix does not collapse them into one rendered paragraph
  • Clean trailing whitespace in the affected templates

Fixes #1343

Validation

  • git diff --check -- templates/spec-template.md templates/plan-template.md templates/tasks-template.md
  • rg -n " $" templates/spec-template.md templates/plan-template.md templates/tasks-template.md
  • Temporary preview/paragraph assertion for key template fields
  • Markdown preview screenshot generated locally
    cache

@WOLIKIMCHENG WOLIKIMCHENG requested a review from mnriem as a code owner May 9, 2026 07:12
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.

Template header fields collapse to single line when markdownlint strips trailing spaces

1 participant