Skip to content

feat: support batch markdown import as separate posts and allow duplicate titles#1474

Merged
yanglbme merged 1 commit intomainfrom
fix/posts
Apr 18, 2026
Merged

feat: support batch markdown import as separate posts and allow duplicate titles#1474
yanglbme merged 1 commit intomainfrom
fix/posts

Conversation

@yanglbme
Copy link
Copy Markdown
Member

  • Import each .md file as a new post instead of merging into current
  • Use filename (without extension) as the post title on import
  • Extract title from URL path when importing via network link
  • Remove title uniqueness constraint for add and rename operations

duplicate titles

- Import each .md file as a new post instead of merging into current
- Use filename (without extension) as the post title on import
- Extract title from URL path when importing via network link
- Remove title uniqueness constraint for add and rename operations
@yanglbme
Copy link
Copy Markdown
Member Author

内容以唯一 ID 作为标识,可以允许标题重复;批量导入,应该创建新的内容,不要覆盖当前的,并且新内容挨个创建,不合并到同一个 markdown 中

@github-actions
Copy link
Copy Markdown

🚀 Cloudflare Workers Preview has been successfully deployed!

Preview URL: https://md-pr-1474.doocs.workers.dev

Built with commit 39eaf36

@github-actions
Copy link
Copy Markdown

🚀 Surge Preview has been successfully deployed!

Preview URL: https://doocs-md-preview-pr-1474.surge.sh

Built with commit 39eaf36

@yanglbme yanglbme merged commit 8826389 into main Apr 18, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🗑️ Cloudflare Workers preview deployment has been cleaned up.

@yanglbme yanglbme deleted the fix/posts branch April 18, 2026 00:43
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