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 · 4 comments
Closed
4 tasks done

rehypeKatex with remarkMath is not working for latex math #805

sami-lab opened this issue Dec 29, 2023 · 4 comments

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
@iArchin
Copy link

iArchin commented Aug 7, 2024

i have the same problem, did you find the solution? @sami-lab

@wooorm
Copy link
Member

wooorm commented Aug 7, 2024

There is no problem. See thread. I can’t look in your head. Share things.

@wooorm wooorm reopened this Aug 7, 2024
@wooorm wooorm closed this as completed Aug 7, 2024
@github-actions github-actions bot removed 👎 phase/no Post cannot or will not be acted on 🤷 no/invalid This cannot be acted upon labels Aug 7, 2024

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants