flowershow icon indicating copy to clipboard operation
flowershow copied to clipboard

Certain Backslash Characters in math mode causes compile errors

Open KevinModica opened this issue 1 year ago • 1 comments

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] | ^

KevinModica avatar Apr 03 '24 21:04 KevinModica

@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.

mohamedsalem401 avatar Apr 04 '24 11:04 mohamedsalem401