aws-samples / bedrock-claude-chat

AWS-native chatbot using Bedrock + Claude (+Mistral)
MIT No Attribution
828 stars 304 forks source link

[Feature Request]I want to upgrade the version of react-markdown. #261

Closed Taikono-Himazin closed 5 months ago

Taikono-Himazin commented 5 months ago

I would like to use rehype-katex or remark-math. To do so, it seems that you need to increase the version of react-markdown to ^9.0.0. I have the ^9.0.0 update on hand. I forget what the reason was (which plugin I introduced made it necessary to raise it to 9), but is it possible to make a change like this?

Taikono-Himazin commented 5 months ago

marge #262

Taikono-Himazin commented 5 months ago

I mistakenly closed a pull request(#260) and an issue. We will open again.

Taikono-Himazin commented 5 months ago

@statefb I want to display TeX, Code, Link, etc. in addition to MarkDown. I would like to be able to display something like this image.

image

For that purpose, I would like to add remarkPlugins and rehypePlugins. But I needed ReactMarkdown to be 9.x.x. This is an update for that purpose.

Taikono-Himazin commented 5 months ago

I was saying the wrong thing. I didn't need to upgrade react-markdown.

I also changed the PR because I was having performance issues when I upgraded.

statefb commented 5 months ago

Can we close this issue?

Taikono-Himazin commented 5 months ago

Yes! Thank you.