feat(markdown): render inline images in messages and markdown files

Route markdown image nodes through a shared MarkdownImage component that
loads local paths through the raw file API, and allow data:image/* sources
through the sanitizer and URL transform so inline images survive rendering.

Render image attachments as thumbnails in the message thread, and accept
image/webp uploads.
This commit is contained in:
Chris Scott committed 2026-10-13 00:29:00 +00:00
1 parent 93faf387d2
commit be93975d90
13 files changed
+263 -18

No files matched your search

+1
View File
@@ -90,6 +90,7 @@ export const ALLOWED_MIME_TYPES = [
'image/png',
'image/jpeg',
'image/gif',
'image/webp',
'image/svg+xml',
'application/pdf',
'application/zip',