Skip to content

Support XHS news card collections#3

Merged
walker1211 merged 1 commit into
mainfrom
xhs/news-card-collection
Jun 6, 2026
Merged

Support XHS news card collections#3
walker1211 merged 1 commit into
mainfrom
xhs/news-card-collection

Conversation

@walker1211

Copy link
Copy Markdown
Owner

Summary

  • Add XHS news-card collection support with optional ending pages and the text-caption variant.
  • Keep image-caption pages tied to exactly one image and hydrate local images before preview rendering.
  • Update XHS publish metadata/config options, render snapshots, and documentation for collection workflows.

Test plan

  • go test ./internal/ai -run 'TestBuildDeckJSONUsesStrictPrompt|TestBuildDeckJSONPromptPreservesFullVisibleCodeBlocks|TestBuildDeckJSONPromptSplitsOversizedFencedCodeBlocks' -count=1
  • go test ./internal/ai ./internal/deck ./internal/render ./internal/app -count=1
  • go test ./... -count=1
  • go build -o ./mark2note ./cmd/mark2note
  • Generated a prepare-only XHS preview and verified it did not publish

@walker1211
walker1211 merged commit b07e4b8 into main Jun 6, 2026
4 checks passed
@walker1211
walker1211 deleted the xhs/news-card-collection branch June 6, 2026 19:03
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