Skip to content

feat(album): 支持合集 Markdown 批量导出#3

Merged
cloudy-liu merged 2 commits into
masterfrom
feature/album-markdown-export
May 20, 2026
Merged

feat(album): 支持合集 Markdown 批量导出#3
cloudy-liu merged 2 commits into
masterfrom
feature/album-markdown-export

Conversation

@cloudy-liu
Copy link
Copy Markdown
Owner

@cloudy-liu cloudy-liu commented May 20, 2026

改动内容

  • 合集详情页新增导出格式选择,默认批量导出 Markdown,保留 HTML 离线归档。
  • 新增 utils/download/album-format.ts,集中管理合集导出格式、默认值、选项和日期前缀文件名。
  • 合集 Markdown 导出基于 cgiDataNew 渲染后的 HTML 再转换,文件名为 yyyy-MM-dd title.md
  • README 改为 fork 说明文档,原仓大段描述改为原仓 README 链接,并记录本 fork 的优化背景与处理方式。
  • 忽略本地 research/ 目录,并增加合集导出格式的轻量回归测试。

验证

  • node_modules\.bin\jiti.cmd test\album_download_format.ts
  • $env:NODE_OPTIONS='--max-old-space-size=4096'; yarn build

@cloudy-liu cloudy-liu merged commit 33415c4 into master May 20, 2026
@cloudy-liu cloudy-liu deleted the feature/album-markdown-export branch May 20, 2026 23:52
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