mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
[PR #20559] [CLOSED] feat: add markdown rendering toggle for citations and file modals #96707
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20559
Author: @jannikstdl
Created: 1/10/2026
Status: ❌ Closed
Base:
dev← Head:feature/markdown-rendering-toggle📝 Commits (2)
5c55dc4feat: add markdown rendering toggle for citations and file modals46e5972feat: add snippet count badge to citation modal header📊 Changes
7 files changed (+76 additions, -8 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+3 -0)📝
backend/open_webui/routers/retrieval.py(+12 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+16 -0)📝
src/lib/components/chat/Messages/Citations/CitationModal.svelte(+15 -2)📝
src/lib/components/common/FileItemModal.svelte(+23 -6)📝
src/lib/stores/index.ts(+1 -0)📄 Description
Description:
Adds admin toggle to enable markdown rendering in citations and file preview modals with enhanced styling.
Features:
Technical:
Screenshots or Videos
FileItemModal

CitationsModal

Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.