Comments (3)
The latest version of KaTeX doesn't export 'ParseError' as what it did before. Just downgrde it to the specified version:
Line 32 in 9cf572d
For example, I use:
yarn upgrade katex@^0.13.0
from prosemirror-math.
Exactly the same problem here,
[ERROR] No matching export in "node_modules/katex/dist/katex.mjs" for import "ParseError"
node_modules/@benrbray/prosemirror-math/dist/index.es.js:6:16:
6 │ import katex, { ParseError } from 'katex';
╵ ~~~~~~~~~~
package versions:
"@benrbray/prosemirror-math": "^0.2.2",
"katex": "^0.15.1",
"react": "^17.0.2",
Also tried with version 0.16.8
of Katex from here https://www.npmjs.com/package/katex
Thanks Craig
from prosemirror-math.
Related Issues (20)
- Specialized Support for Arrays HOT 5
- Undo HOT 1
- Paste from External Sources (MathJax in the wild, Wikipedia, etc.) HOT 3
- Plugin to detect math in pasted LaTeX-like text HOT 1
- Editor loses focus when deleting empty line following math block
- Control+backspace is a text-editing shortcut on Windows to delete words; it should not delete the entire math block in the default config
- Support for async KaTeX HOT 1
- Readonly mode HOT 1
- Console log in production bundle. HOT 1
- Support Tiptap HOT 17
- Preview panel support HOT 4
- MathView throws unknown errors instead of handling them like ParseError HOT 1
- Integration with Outline's `rich-markdown-editor` HOT 12
- Problem with caret position of math_inline in RTL HOT 1
- Usage with TipTap: `Error: inner view should not exist!` HOT 2
- Support snippet HOT 2
- static HTML for math node views HOT 2
- Pasting math into editor
- Math inline gets in the way of normal sentences. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prosemirror-math.