widcardw / obsidian-asciimath

Asciimath support for Obsidian (based on asciimath-parser)
MIT License
28 stars 2 forks source link

Integration with Obsidian-Desmos #19

Open kwinso opened 7 months ago

kwinso commented 7 months ago

There's neet plugin for drawing graphs with desmos: https://github.com/Nigecat/obsidian-desmos

Unfortunately, it uses LaTeX for graphing syntax. What about some special switch to enable support of ASCIIMath in desmos-graph code blocks? I think, it should be as easy as we've already done with the obsidian's math blocks.

Also, I'm not sure, if this should be done by the obsidian-asciimath plugin, and not by the obsidian-desmos plugin.

What do you think?

widcardw commented 7 months ago

I'm not sure how it parses the equations, and the formulas am generates will contain a lot of \left and \right, and I wonder if it may cause problems.

I will look into desmos' api and try to test in the future.