mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
This commit introduces support for displaying and downloading inline base64-encoded images (specifically PNG and JPEG formats) within Markdown content. Key changes: - Modified 'urlTransform' in the Markdown component to allow 'data:image/png' and 'data:image/jpeg' URLs, enabling their rendering. - Updated the 'download' utility to handle 'data:' URLs, allowing users to save these inline images. Signed-off-by: Chan Lee <Leetimemp@gmail.com> |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||