Closed henkelma closed 2 years ago
Forget the alternative code, it creates more problems than it actually solves. Being new to the js/html world it is tough to judge everything in detail. But from what I guess it would probably be much cleaner to embed the whole Jupyter html into an iframe. Need to experiment further an think about it...
There is an incompatibility with the used MathJax version between Obsidian and Jupyter. Obsidian is using v3 and Jupyter is using v2. For now that means, that the generated html from an ipynb file can only "live" in an iFrame. Otherwise there will be problems with MathJax.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This is hopefully fixed by #40.
MathJax parts are only properly rendered if the window is in focus while Obsidian is started. In all other cases the MathJax source is visible instead to the rendered equations.
Seems to be caused by:
I replaced this with
This leads to correctly rendered output in all cases. But during the first rendering the following exception is being raised: