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

\[ and & inside braces parse error #100

Closed
4 tasks done
imarabinda opened this issue Oct 25, 2024 · 2 comments
Closed
4 tasks done

\[ and & inside braces parse error #100

imarabinda opened this issue Oct 25, 2024 · 2 comments
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on

Comments

@imarabinda
Copy link

Initial checklist

Affected packages and versions

remark-math@6.0.0

Link to runnable example

No response

Steps to reproduce

Try to render this content
\[ \text{SG&A as a percentage of revenue} = \left( \frac{\text{SG&A expenses}}{\text{Revenue}} \right) \times 100\% \]

Expected behavior

It should render math notation like this.
Screenshot from 2024-10-25 14-57-01

Actual behavior

Getting this error
ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 9: \text{SG&̲A Percentage}

Affected runtime and version

node@20.17.0

Affected package manager and version

npm@10.8.3

Affected OS and version

Ubuntu 22.04.5 LTS

Build and bundle tools

Next.js

@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 Oct 25, 2024
@wooorm
Copy link
Member

wooorm commented Oct 25, 2024

Please read the documentation; that is not the syntax this project uses.

@wooorm wooorm closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
@wooorm wooorm added the 🤷 no/invalid This cannot be acted upon label Oct 25, 2024

This comment has been minimized.

@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 Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants