cherry-studio/src/renderer
SuYao 022a59b1bd feat: enhance citation handling in message export functionality (#6422)
* feat: enhance citation handling in message export functionality

- Refactored message export functions to include citation content in markdown output.
- Introduced a new utility function to extract and format citations from messages.
- Updated related imports and adjusted existing markdown generation logic for improved clarity and maintainability.

* feat: enhance message export tests to include citation and reasoning content

- Added tests to verify inclusion of citation content in markdown output when citation blocks exist.
- Ensured proper formatting with double newlines between sections in exported markdown.
- Updated existing tests to handle cases with reasoning content and no main text block gracefully.

* fix: update citation mapping in export tests for consistency

- Modified the citation mapping in export tests to use the index parameter directly, improving clarity and consistency in the generated markdown output.
2025-05-25 21:08:06 +08:00
..
__tests__ refactor: implement message editing and resend functionality (#5901) 2025-05-19 15:38:00 +08:00
src feat: enhance citation handling in message export functionality (#6422) 2025-05-25 21:08:06 +08:00
index.html refactor: update spinner handling and improve initialization timing 2025-05-18 22:05:35 +08:00
miniWindow.html fix: miniWindow not found 2025-05-11 23:54:47 +08:00