[PR #3267] [MERGED] Markdown support in custom messages #4250

Closed
opened 2026-02-22 18:35:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3267
Author: @shatfield4
Created: 2/18/2025
Status: Merged
Merged: 2/18/2025
Merged by: @timothycarambat

Base: masterHead: 3250-feat-markdown-support-to-customized-messages


📝 Commits (5)

  • e5bffcf add md support to appearance custom messages
  • e3c9092 break out dompurify to util
  • 3103d43 Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages
  • 6d1cee8 Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages
  • e147cc1 Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages

📊 Changes

4 files changed (+25 additions, -14 deletions)

View changed files

📝 frontend/src/components/ChatBubble/index.jsx (+8 -5)
📝 frontend/src/components/EditingChatBubble/index.jsx (+8 -3)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+1 -6)
frontend/src/utils/chat/purify.js (+8 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3250

What is in this change?

  • Support markdown in Custom Messages appearance setting
  • Create util for DOMPurify for reuse around the frontend

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3267 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 2/18/2025 **Status:** ✅ Merged **Merged:** 2/18/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3250-feat-markdown-support-to-customized-messages` --- ### 📝 Commits (5) - [`e5bffcf`](https://github.com/Mintplex-Labs/anything-llm/commit/e5bffcf594a401d228d2d2fe411573a4a9dce092) add md support to appearance custom messages - [`e3c9092`](https://github.com/Mintplex-Labs/anything-llm/commit/e3c9092ac932d1f62960fe56e8b7e8bec7b13ff1) break out dompurify to util - [`3103d43`](https://github.com/Mintplex-Labs/anything-llm/commit/3103d43d5e4d6d16a84a31feff4da27d0855acc9) Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages - [`6d1cee8`](https://github.com/Mintplex-Labs/anything-llm/commit/6d1cee88ea917777dba62cbb8f1fe0b3f402c208) Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages - [`e147cc1`](https://github.com/Mintplex-Labs/anything-llm/commit/e147cc1638d7a603b92f0e5054f40550c9dc703c) Merge branch 'master' into 3250-feat-markdown-support-to-customized-messages ### 📊 Changes **4 files changed** (+25 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/ChatBubble/index.jsx` (+8 -5) 📝 `frontend/src/components/EditingChatBubble/index.jsx` (+8 -3) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+1 -6) ➕ `frontend/src/utils/chat/purify.js` (+8 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3250 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Support markdown in Custom Messages appearance setting - Create util for `DOMPurify` for reuse around the frontend ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:27 -05:00
yindo closed this issue 2026-02-22 18:35:27 -05:00
yindo changed title from [PR #3267] Markdown support in custom messages to [PR #3267] [MERGED] Markdown support in custom messages 2026-06-05 15:17:35 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4250