Use Streamdown (but the css is kinda messed up still)

This commit is contained in:
Alex Gleason committed 2025-08-24 19:34:35 -05:00
1 parent 6c540fc099
commit be73d63bf2
4 files changed
+52 -4

No files matched your search

+42
View File
@@ -75,6 +75,7 @@
"recharts": "^2.12.7",
"remark-gfm": "^4.0.1",
"sonner": "^1.5.0",
"streamdown": "^1.0.12",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"turndown": "^7.2.1",
@@ -10306,6 +10307,47 @@
"dev": true,
"license": "MIT"
},
"node_modules/streamdown": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/streamdown/-/streamdown-1.0.12.tgz",
"integrity": "sha512-4vea/NYZE+gRcEZYS5PSU2IBFgH1zA2yklei9FvtlwJt9/oaRFnaUDpBDuD5EgdvqtUAGt4J2p4H/fZFgRi0Ow==",
"license": "Apache-2.0",
"dependencies": {
"clsx": "^2.1.1",
"harden-react-markdown": "^1.0.4",
"katex": "^0.16.22",
"lucide-react": "^0.539.0",
"marked": "^16.1.2",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"shiki": "^3.9.2",
"tailwind-merge": "^3.3.1"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0"
}
},
"node_modules/streamdown/node_modules/lucide-react": {
"version": "0.539.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.539.0.tgz",
"integrity": "sha512-VVISr+VF2krO91FeuCrm1rSOLACQUYVy7NQkzrOty52Y8TlTPcXcMdQFj9bYzBgXbWCiywlwSZ3Z8u6a+6bMlg==",
"license": "ISC",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/streamdown/node_modules/tailwind-merge": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz",
"integrity": "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/dcastil"
}
},
"node_modules/string_decoder": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",