sonoisa / XyJax-v3

Xy-pic extension for MathJax version 3
Apache License 2.0
33 stars 3 forks source link

Can you make this an obsidian plug-in? #8

Open willcai7 opened 2 years ago

willcai7 commented 2 years ago

This Mathjax extension is perfect for commutative diagrams. Could you add this as a plug-in for obsidian? Obsidian is a double-link note software based on Markdown and supports Mathjax v3. However, it doesn't have any plug-in for commutative diagrams.

I hope you could add this to obsidian cause I am using it as my primary note app, and I need to draw many diagrams.

ge9 commented 8 months ago

I recently migrated from Typora to Obsidian, and found that xypic-related commands like \xymatrix, which work in Typora (https://github.com/typora/typora-issues/issues/2647), don't work in Obsidian.

At least, Obsidian 1.3.0 (May 2023) supports Mathjax v3.2.2 (https://obsidian.md/changelog/2023-05-09-desktop-v1.3/), so XyJax (for Mathjax 3.1.4+) should essentially work on current Obsidian. I've tried to make this extension work in Obsidian (which will solve this issue), but currently not successful. I couldn't find any way to intervene the initial configuration of MathJax object by Obsidian (though I could neither claim it's impossible).

Now I've given up this, but I hope it'll be solved.