Skip to content

Conversation

SapientialM
Copy link
Contributor

Describe what this PR does / why we need it

the chat component has added markdown preview and code block highlighting.

Does this pull request fix one issue?

NONE

Describe how you did it

Added marked + DOMPurify for safe preview and highlight.js for code syntax highlighting.

Describe how to verify it

生成一个Java代码给我,打印Hello World。
c6514f22da73d3f1a5bbcbc79b29c4a2
以markdown的形式写一个博客说明。
9857dc7be4ec49ad1c59d2d2be92cbab

Special notes for reviews

@github-actions github-actions bot added the area/jmanus SAA Jmanus module label Aug 13, 2025
@SapientialM SapientialM reopened this Aug 13, 2025
@rainerWJY rainerWJY merged commit 5bade36 into alibaba:main Aug 19, 2025
21 of 22 checks passed
github-actions bot pushed a commit to Hipple/spring-ai-alibaba that referenced this pull request Aug 19, 2025
…block highlighting (alibaba#2124)

* feat(jmanus): the chat component has added markdown preview and code block highlighting.

* fix(jmanus): translate
@SapientialM SapientialM deleted the chat_update branch September 16, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jmanus SAA Jmanus module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants