Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

rehypeKatex with remarkMath is not working for latex math #805

Closed
4 tasks done
sami-lab opened this issue Dec 29, 2023 · 1 comment
Closed
4 tasks done

rehypeKatex with remarkMath is not working for latex math #805

sami-lab opened this issue Dec 29, 2023 · 1 comment
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on

Comments

@sami-lab
Copy link

sami-lab commented Dec 29, 2023

Initial checklist

Affected packages and versions

^8.0.2

Link to runnable example

sandbox

Steps to reproduce

I have chat AI bot in which i am using react-markdown. But markdown is not working with latex formulas. I have attached my implementation

sandbox

Expected behavior

Latex formulas should be format like usuall

Actual behavior

Currently it is rendering as text

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Dec 29, 2023
@ChristianMurphy
Copy link
Member

Welcome @sami-lab! 👋
What is your question or concern?
In the sandbox you shared, the react-markdown example labeled "Katex" renders the formula correctly and fully styled.
Screenshot 2023-12-31 at 11-32-20 react markdown katex latex mathjax - CodeSandbox

@ChristianMurphy ChristianMurphy added the 🤷 no/invalid This cannot be acted upon label Dec 31, 2023
@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants