When using markdown file with knowledge #2394

Closed
opened 2025-11-11 15:06:19 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @mikelfried on GitHub (Oct 16, 2024).

Bug Report

When uploading a markdown file into Knowledge, the preview appears to strip all markdown syntax, making it difficult to determine if this issue is limited to the preview or if it also affects the backend during chunking or when passing it as context to the model. Additionally, markdown formatting is not displayed properly when the model provides the chunk or file as a citation.

Installation Method

docker

Environment

  • Open WebUI Version: [e.g., v0.3.32]

  • Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]

  • Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Confirmation:

  • [V] I have read and followed all the instructions provided in the README.md.
  • [V] I am on the latest version of both Open WebUI and Ollama.
  • [V] I have included the browser console logs.
  • [V] I have included the Docker container logs.
  • [V] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

uploading markdown into a knowledge base -> nice preview of it as a markdown -> chunking strategy as a markdown -> nice formatted text citations when using as rag.

Actual Behavior:

the markdown preview in the knowledge and citations, looked striped from all syntax, without any style.

Originally created by @mikelfried on GitHub (Oct 16, 2024). # Bug Report When uploading a markdown file into Knowledge, the preview appears to strip all markdown syntax, making it difficult to determine if this issue is limited to the preview or if it also affects the backend during chunking or when passing it as context to the model. Additionally, markdown formatting is not displayed properly when the model provides the chunk or file as a citation. ## Installation Method docker ## Environment - **Open WebUI Version:** [e.g., v0.3.32] - **Operating System:** [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04] - **Browser (if applicable):** [e.g., Chrome 100.0, Firefox 98.0] **Confirmation:** - [V] I have read and followed all the instructions provided in the README.md. - [V] I am on the latest version of both Open WebUI and Ollama. - [V] I have included the browser console logs. - [V] I have included the Docker container logs. - [V] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: uploading markdown into a knowledge base -> nice preview of it as a markdown -> chunking strategy as a markdown -> nice formatted text citations when using as rag. ## Actual Behavior: the markdown preview in the knowledge and citations, looked striped from all syntax, without any style.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2394