forked from vhaudiquet/rhema-together
feat(web): render messages as markdown
Messages were plain text, so headings, lists, code, tables, and links from people and the agent showed as literal markup. Render them with markdown-it, with raw HTML off and unsafe link schemes blocked. External links open in a new tab, and @rhema stays highlighted. Code, tables, quotes, and images get styles that fit the message body.
This commit is contained in:
1 parent
d4aac727ad
commit
a8f7e74ba0
5 files changed
+235
-20
No files matched your search
@@ -13,6 +13,7 @@
|
||||
"@xterm/addon-fit": "^0.11.0",
|
||||
"@xterm/xterm": "^6.0.0",
|
||||
"lucide-vue-next": "^1.0.0",
|
||||
"markdown-it": "^15.0.3",
|
||||
"nuxt": "^4.7.0",
|
||||
"vue": "^3.5.0"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user