feat(chat): render Markdown and copy code blocks
This commit is contained in:
1 parent
f2c2fb1051
commit
012f54c484
7 files changed
+264
-13
No files matched your search
@@ -14,7 +14,7 @@ const section = (label, body) => `\n===== ${label} =====\n\n${body.trim()}\n`;
|
||||
// The packages the Vite bundle ships to the Browser. Nothing installs
|
||||
// node_modules at runtime any more, so this list is the notice contract rather
|
||||
// than package.json's dependencies field.
|
||||
const WEB_BUNDLE_PACKAGES = ["@oddbird/popover-polyfill", "@zip.js/zip.js", "react", "react-dom", "qrcode.react", "sdp-transform", "semver", "zod"];
|
||||
const WEB_BUNDLE_PACKAGES = ["@oddbird/popover-polyfill", "@zip.js/zip.js", "markdown-it", "react", "react-dom", "qrcode.react", "sdp-transform", "semver", "zod"];
|
||||
|
||||
// Both binaries embed the Web bundle, which serves its own notice file.
|
||||
const WEB_NOTICE_LINE = "Web dependencies: served at /third-party-licenses.txt\n";
|
||||
|
||||
Reference in new issue
Block a user