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

Certain Backslash Characters in math mode causes compile errors #641

Open
KevinModica opened this issue Apr 3, 2024 · 1 comment
Open

Comments

@KevinModica
Copy link

I'm not sure if this is a Vercel problem or a Flowershow problem, but when I am trying to publish my obsidian vault it fails because the there is a error during compilation due to certain "complex" math symbols. I've noticed it for things like "\delta" $\delta$, and "\neq" $\neq$

It seems like it is expecting it to be unicode characters. Is there a right way to include latex style math in a published project?

[13:57:22.712] Error: [next-mdx-remote] error compiling MDX:
[13:57:22.712] Could not parse expression with acorn: Expecting Unicode escape sequence \uXXXX
[13:57:22.712]
[13:57:22.712] 30 |
[13:57:22.712] 31 | $$
[13:57:22.712] > 32 | a \neq b $$
[13:57:22.713] | ^

@mohamedsalem401
Copy link
Member

@KevinModica
Let me look into this and get back to you. Maybe there's an easy way to include those math symbols without MDX syntax errors.

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

No branches or pull requests

2 participants