Skip to content

LaTeX equations get unexpected error #504

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

Closed
4 tasks done
Debonex opened this issue May 23, 2025 · 2 comments
Closed
4 tasks done

LaTeX equations get unexpected error #504

Debonex opened this issue May 23, 2025 · 2 comments
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on

Comments

@Debonex
Copy link

Debonex commented May 23, 2025

Initial checklist

Affected package

rehype-katex@7 remark-math@6

Steps to reproduce

When using MDX with LaTeX in Docusaurus, a simple mathematical equation below triggers an unexpected error from the MDX extension in VSCode, although the LaTeX renders correctly.

$\frac{a}{\sqrt{b}}$

Actual behavior

Image Image

Expected behavior

No error occurs

Runtime

No response

Package manager

No response

Operating system

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 May 23, 2025
@remcohaszing
Copy link
Member

You need to add remark-math to the plugin list. See https://github.com/mdx-js/mdx-analyzer#plugins.

@remcohaszing remcohaszing closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2025

This comment has been minimized.

@remcohaszing remcohaszing added 🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants