diff --git a/apps/www/content/docs/components/markdown-renderer.mdx b/apps/www/content/docs/components/markdown-renderer.mdx index 45e1cdf..c0d445e 100644 --- a/apps/www/content/docs/components/markdown-renderer.mdx +++ b/apps/www/content/docs/components/markdown-renderer.mdx @@ -44,13 +44,30 @@ npx shadcn@latest add https://shadcn-chatbot-kit.vercel.app/r/markdown-renderer. Install the required dependencies ```bash -npm install react-markdown remark-gfm +npm install react-markdown remark-gfm shiki ``` Copy and paste the following code into your project. +Add the following options into `tailwind.config.js` + +Add the following options into `tailwind.config.js` + +Add the following in the `theme.extend.colors` section of your `tailwind.config.js` file + +```javascript title="tailwind.config.js" +// ... +shiki: { + light: "var(--shiki-light)", + "light-bg": "var(--shiki-light-bg)", + dark: "var(--shiki-dark)", + "dark-bg": "var(--shiki-dark-bg)", +}, +// ... +``` + Update the import paths to match your project setup.