Skip to content

Commit 4029915

Browse files
committed
feat(chatmarkdown): support mermaid
1 parent f9ef257 commit 4029915

File tree

1 file changed

+10
-0
lines changed
  • packages/pro-components/chat/chat-markdown/_example

1 file changed

+10
-0
lines changed

packages/pro-components/chat/chat-markdown/_example/base.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ import App from './app.vue';
4848
const app = createApp(App);
4949
app.use(TDesignChat);
5050
\`\`\`
51+
52+
---
53+
54+
\`\`\`mermaid
55+
graph TD;
56+
A-->B;
57+
A-->C;
58+
B-->D;
59+
C-->D;
60+
\`\`\`
5161
`;
5262

5363
export default function ThinkContentDemo() {

0 commit comments

Comments
 (0)