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

TypeError: Cannot read properties of undefined (reading 'mathFlowInside') #2368

Closed
albertilagan opened this issue Oct 1, 2023 · 5 comments · Fixed by #2378
Closed

TypeError: Cannot read properties of undefined (reading 'mathFlowInside') #2368

albertilagan opened this issue Oct 1, 2023 · 5 comments · Fixed by #2378
Labels
bug Something isn't working

Comments

@albertilagan
Copy link

Broke on the latest release.

image

image image
@dimaMachina

This comment was marked as outdated.

@dsernst
Copy link

dsernst commented Oct 4, 2023

Hmm, seeing this too all of a sudden, and it's breaking and blocking builds.

Not seeing any references to mathFlowInside in https://github.com/KaTeX/KaTeX. Unclear how to proceed.

@dimaMachina
Copy link
Collaborator

Please share code snippet, I’ll debug

@acdibble
Copy link

acdibble commented Oct 4, 2023

Here's a repro

@dimaMachina
Copy link
Collaborator

@acdibble thx for repro

this issue was made after remark-math update to v6, seems like in the new version $$ syntax isn't supported and math code block language should be used instead aka:

```math

I downgraded remark-math to v5 to fix breaking changes, and will do an update of remark-math only for Nextra v3.

so you'll need to do following refactor for Nextra v3 or right now

- $$
+ ```math
  x^2
- $$
+ ```

@dimaMachina dimaMachina added bug Something isn't working and removed upstream labels Oct 4, 2023
@dimaMachina dimaMachina mentioned this issue Oct 4, 2023
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants