LibreChat/client/src/components/Artifacts
Sebastien Bruel 7c9a868d34
📝 feat: Add Markdown Rendering Support for Artifacts (#10049)
* Add Markdown rendering support for artifacts

* Add tests

* Remove custom code for mermaid

* Remove unnecessary dark mode hook

* refactor: optimize mermaid dependencies

- Added support for additional MIME types in artifact templates.
- Updated mermaidDependencies to include new packages: class-variance-authority, clsx, tailwind-merge, and @radix-ui/react-slot.
- Refactored zoom and refresh icons in MermaidDiagram component for improved clarity and maintainability.

* fix: add Markdown support for artifacts rendering

* feat: support 'text/md' as an additional MIME type for Markdown artifacts

* refactor: simplify markdownDependencies structure in artifacts utility

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
2025-10-11 10:37:35 -04:00
..
Artifact.tsx 🎯 refactor: LaTeX and Math Rendering (#7952) 2025-06-18 00:58:51 -04:00
ArtifactButton.tsx 🔄 refactor: Artifact Visibility Management (#7181) 2025-05-01 14:40:39 -04:00
ArtifactCodeEditor.tsx 📝 feat: Add Markdown Rendering Support for Artifacts (#10049) 2025-10-11 10:37:35 -04:00
ArtifactPreview.tsx 📝 feat: Add Markdown Rendering Support for Artifacts (#10049) 2025-10-11 10:37:35 -04:00
Artifacts.tsx 📝 feat: Add Markdown Rendering Support for Artifacts (#10049) 2025-10-11 10:37:35 -04:00
ArtifactTabs.tsx 📝 feat: Add Markdown Rendering Support for Artifacts (#10049) 2025-10-11 10:37:35 -04:00
Code.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
DownloadArtifact.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
Mermaid.tsx 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
Thinking.tsx 🚀 feat: o1 Tool Calling & reasoning_effort (#5553) 2025-01-30 12:36:35 -05:00