-
Notifications
You must be signed in to change notification settings - Fork 12
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
Broken paths #34
Comments
Hmmm, I've been using this with an electron app, and we don't use the script tag approach. We rely on Then it gets passed into our script loader https://github.com/nteract/nteract/blob/f97dfb72ab98385c06af859385215d6904a1e552/packages/mathjax/src/provider.tsx#L70, which does end up injecting a script tag on the page. |
For anyone still stuck on this error, here is what I did: I loaded the index.js file on the
On a I then loaded MathJax manually, using Sample code, loaded on the same HTML file:
Hope this helps anyone! |
This
<script type="text/javascript" src="./node_modules/mathjax-electron/resources/MathJax/MathJax.js?config=electron"></script>
should be
<script type="text/javascript" src="./node_modules/mathjax-electron/MathJax-2.7.5/MathJax.js"></script>
However even after that fix, I get the error:
MathJax.js:19 GET ./node_modules/mathjax-electron/MathJax-2.7.5/extensions/MathMenu.js?V=2.7.5 net::ERR_FILE_NOT_FOUND
Are the paths broken or can someone throw together an actual working demo of this thing?
The text was updated successfully, but these errors were encountered: