Giter Site home page Giter Site logo

Comments (8)

Canna71 avatar Canna71 commented on June 3, 2024 1

In version 0.8.11 there is further support for Scientific Notation.

from obsidian-mathpad.

Canna71 avatar Canna71 commented on June 3, 2024

It's true; I'll have a look.

from obsidian-mathpad.

Canna71 avatar Canna71 commented on June 3, 2024

Hi, I have a tentative fix in pre-release 0.8.8
If you'd like you could install it using BRAT and provide feedback

Thank you

from obsidian-mathpad.

Mixpap avatar Mixpap commented on June 3, 2024

I tried the 0.8.8 version, indeed inline results are now working in lists. However still doesn't work in headings.
Very nice work by the way, thanks for this. I only miss the the scientific notation.

from obsidian-mathpad.

Canna71 avatar Canna71 commented on June 3, 2024

Thank you, I'll keep testing it because I am afraid some edge cases could still be missed. Unfortunately the implementation is more complicated than one can image because in order to keep performance acceptable with several inline-code sections, I had to implement a bunch of optimisations in order to avoid recalculating at every keypress.

Indeed it is not working on headings. I will work on that.

About scientific notation, it might need delving more inside the actual mathematical engine (Nerdamer) which at the moment I forked but only slightly modified.

Also units would be great but at the moment I wouldn't know how to implement :-)

from obsidian-mathpad.

Canna71 avatar Canna71 commented on June 3, 2024

I did further fixes in 0.8.9

from obsidian-mathpad.

Mixpap avatar Mixpap commented on June 3, 2024

Looking at version 0.8.11, it working as a charm. Thank you.
Your plugin (along with scientific notation) supercharged my usage in obsidian at 100%.
If you (or we as part of the community) also can add units it will be an overkill.

There is very nice plugin for units called numerals (https://github.com/gtg922r/obsidian-numerals) which I think uses mathjs. I don't know if someone can combine these two libraries.

from obsidian-mathpad.

Canna71 avatar Canna71 commented on June 3, 2024

I know mathjs. It's great for calculations, but not so much for symbolic math and algebra in general.
I also considered using algebrite which has units, but run shorter on other things. So in the end I chose nerdamer, which has almost everything, except units.

I will close this issue for the time being.

from obsidian-mathpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.