Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

remark-mdx-chartjs plugin not working properly with react-markdown #4

Open
ARSHADKHAN615 opened this issue Oct 25, 2023 · 2 comments
Open

Comments

@ARSHADKHAN615
Copy link

I am using Vercel ai SDK Next.js AI Chatbot template.

After the openai response section show empty or blank.

@pangelani
Copy link
Owner

@ARSHADKHAN615,

The ReactMarkdown component from the react-markdown library does not directly support MDX (Markdown with JSX) content out of the box. react-markdown is specifically designed for rendering plain Markdown content as React components.

Can you provide more context or a snippet of what you are trying to achieve?

Thanks.

@ARSHADKHAN615
Copy link
Author

I am training to show charts from OpenAI chat response. In this boilerplate https://chat.vercel.ai/

So that i am training to add this plugin here.
https://github.dev/vercel-labs/ai-chatbot/blob/main/components/chat-message.tsx
image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants