chatboxai / chatboxai/chatbox

[BUG] 无法正确的渲染mermaid

Open
#2,012 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
41.8k
Forks
4.3k
Avg merge
9h 39m
Merged PRs (30d)
2

Description

Bug Description
我在使用chatbox默认的“做图表”功能时候,我发现了chatbox无法正常的渲染mermaid

下面是我的配置信息:

Image

当我使用它来生成mermaid生成图表时候,它会显示Loading,紧接着它就会消失。

当我取消markdown渲染的时候,它可以正常输出内容。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the default “做图表” function with Markdown rendering enabled, then compare it with Markdown rendering disabled. Investigate the Mermaid rendering path responsible for the loading state; done means generated Mermaid diagrams render successfully instead of disappearing after loading.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.