Skip to content

feat: add image sharing and markdown export functionality#343

Open
chengcheng84 wants to merge 2 commits intoCherryHQ:mainfrom
chengcheng84:feat/export-message
Open

feat: add image sharing and markdown export functionality#343
chengcheng84 wants to merge 2 commits intoCherryHQ:mainfrom
chengcheng84:feat/export-message

Conversation

@chengcheng84
Copy link
Contributor

@chengcheng84 chengcheng84 commented Mar 3, 2026

  • 分享为图片
  • 导出为md文件

- Implemented captureMessageAsImage function to capture message view as an image.
- Added handleShareAsImage and handleCopyAsImage functions for sharing and copying images.
- Introduced handleExportMarkdown function to export messages as markdown.
- Updated useMessageActions hook to include new functionalities.
- Enhanced MessageFooter component to include share options for text, image, and markdown export.
- Added localization strings for new features in English, Japanese, Russian, Simplified Chinese, and Traditional Chinese.
- Modified Message and MessageContent components to support excluding thinking blocks.
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