1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-23 11:09:01 +03:00
Files
Zack eab262dba4 Add a Markdown viewer for .md attachments in the right panel (#35203)
* Add marked

* Add the markdown viewer lab

* Add the markdown viewer right panel phase

* Add the open markdown viewer action

* Detect markdown attachments

* Render markdown to sanitized HTML

* Add DocumentViewerView

* Build the PDF viewer on DocumentViewerView

* Add MarkdownViewerView

* Add the markdown viewer

* Show markdown attachments in the right panel

* Pick the attachment viewer in one place

* Offer to open markdown attachments from the timeline

* Put both document viewers behind one lab

* Drop the per-viewer lab flags

* Update snapshots

* Render markdown attachments with the message parser

* Drop marked

* Update snapshot

* Keep the PDF viewer lab key for the shared lab

* Add a document viewer registry with one media handle

* Open every document through one right panel card

* Type the lazy viewer loaders explicitly

* Show an error when a document can no longer be opened
2026-10-02 09:07:46 +00:00
..