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

Custom MathJax extensions #6

Open
onyxiguana opened this issue Mar 15, 2021 · 2 comments
Open

Custom MathJax extensions #6

onyxiguana opened this issue Mar 15, 2021 · 2 comments

Comments

@onyxiguana
Copy link

Is it possible to adapt the plugin code to support custom MathJax extensions? For example, following the instructions at XyJax, I can get it to work in my browser (Firefox) but downloading and then trying to load xypic.js in Obsidian stops MathJax rendering altogether.

This is related to the issue 817799583. The two packages being loaded (mhchem and bussproofs) are already loaded by Obsidian, and changing the code to load any package not on the MathJax Extension List stops MathJax rendering.

@xldenis
Copy link
Collaborator

xldenis commented Mar 16, 2021

I'm going to look into this this weekend, you're right there's no reason we shouldn't be able to load XyJax.

@xldenis
Copy link
Collaborator

xldenis commented May 9, 2021

I looked into this today. It should be possible but I can't get MathJax to load custom extensions after initialization, supposedly there is an API for this but I haven't been able to trigger external loading yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants