-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feature Request] Support solving within latex expressions #37
Comments
Thanks a lot for this cool idea 🌟. I totally get where you're coming from, wanting to solve equations right inside your notes. It sounds super convenient! However, after giving it some thought, I realized that integrating this feature is quite a handful. The thing with TeX/LaTeX is that it's awesome for showing off math equations in a neat format, but it's not really built for crunching numbers. Parsing and computing LaTeX directly in the plugin would be like opening a whole new can of worms, given how complex LaTeX syntax can get. Also, there's this tricky part where LaTeX uses symbols like '*' for its formatting magic, which could get misread as something else if we start doing math with them. So, while I love the idea, I think it's a bit out of reach for this plugin. That said, I'm all ears for other suggestions to make the plugin better within its main goals. Keep those ideas coming! On a side note, I've implemented a fix for |
@LiamRiddell Not parsing and evaluating LaTeX per se, but just ignoring the |
Damn, my apologies! I'll reopen the issue. I can take a look at this and see what I can do. Thank you for correcting me 😃 |
All good! A cool thing that I might PR in the future would be to convert LaTeX to ASCIIMath then solve that |
That sounds interesting. I do have an initial draft of the community providers in the code which allows another Obsidian Plugin to define custom providers. It's currently un-documented in early stages. It could also be a good project for that too! |
@Explosion-Scratch The only issue I initially see in the example |
I have lots of notes which have something like:
It would be amazing if this plugin would solve things within the '$'s, evaluating that as '(2.14*e-5)270'
=114.40
Also this would solve issues like
*
being used as italic formatting in obsidianThe text was updated successfully, but these errors were encountered: