You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just checked out latest per our discussion in the MDsveX issue. It seems to have issues with rendering the % character. for example:
$5\%$
$$5\%$$
Produces the error
LaTeX-incompatible input and strict mode is set to 'warn': % comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $) [commentAtEnd]
And fails to render the % character despite it being escaped which AFAIK (I'm not TeX expert) is the correct way to do it. I see the following rendered output:
This output makes sense if it's treating the % characters as a comment, rather than treating the escaped \% as a percentage character. Given the errors, I think that scenario is likely.
The text was updated successfully, but these errors were encountered:
I've investigated this further and it seems the issue is actually occurring upstream in another step of my processing pipeline - discussion here. I'll go ahead and close this issue as it doesn't appear to be rooted in rehype-katex-svelte
Just checked out latest per our discussion in the MDsveX issue. It seems to have issues with rendering the
%
character. for example:Produces the error
And fails to render the
%
character despite it being escaped which AFAIK (I'm not TeX expert) is the correct way to do it. I see the following rendered output:This output makes sense if it's treating the
%
characters as a comment, rather than treating the escaped\%
as a percentage character. Given the errors, I think that scenario is likely.The text was updated successfully, but these errors were encountered: