Home    |    GitHub Page    |    API    |    FAQ

Plugin: Math Mode

Introducing Math Mode for Joplin! This is a plugin that will allow for special code blocks in markdown that evaluate all math inside of them.

It's built on mathjs, meaning it can do everything that mathjs can do. From derivates, and symbolic manipulation of expressions, to unit conversion and matrix operations.

The current release is still in beta and only includes the bare minimum, you'll see in the project readme that I plan to add more soon. If you have any ideas that would fit within the scope of this plugin (or any bugs), feel free to let me know here or on the github issue tracker for the plugin.

Warning: This plugin is very new, and I don't know exactly what kind of interface is going to be most practical. What you see above is the current implementation but I might change it if necessary or if I think a different presentation makes more sense (results on the next line for example).


That's brilliant, I'll need to give that a try.


wow, this is totally awesome! thanks!!

1 Like

This is great! It reminds me of the powerful Mac calculator program called Calca.

I have mixed feelings about what comes after the Calculate symbol ("=>"). The result of "cost_per_person: 175" is a bit redundant, since the left side of the equal sign already tells you the variable name.

Perhaps the calculated answer might be just the answer "=> 175" rather than "=> cost_per_person: 175". I have mixed feelings because I can see a use case for putting the variable name before the answer. You might want to copy the result and paste it into another program. In that case, having the variable name preceding the answer might be better.

1 Like


I'm similarly conflicted about it. I'm tempted to remove it, but as you've noted there are situations where it greatly enhances read-ability. I think for now I'll leave it as is, and we'll wait for the plugin to be used a bit more before making changes (too be honest, I haven't been using it for long so this might be something we grow to love). I might also make a toggle to get the best of both worlds.

1 Like

I can understand both approaches. If I were to use it and I will use it in the future, I would like to be able to use both.
A toggle is one option, but it will only allow to change the setting globally (in case it is implemented as a setting). Maybe there's also a way to do something like:

verbose = off|no|0
1 Like

Very cool plug in.


If I want to show the result to the rendered page how can I do that? Also possibly suppress the formula side and only display the result.

Copy and Paste doesn't seem to allow me to select the result of the calculation either which might be an easy way to do it.

Thanks for the cool plug in



If I want to show the result to the rendered page how can I do that?

It's not possible yet, but I plan on adding support for inserting the result into the text.

Also possibly suppress the formula side and only display the result

Also not possible, but I like the idea, and I'll be adding it to the roadmap. I think this fit's well with the above discussion around verbosity.

I plan on fixing copy and paste soon, i've seen examples of it working but haven't properly put the time in to get it working here.

Great to hear! I think this is going to be a really useful plugin. Saves me from having to pop up a calculator :wink:

Again, Excellent work!



  • Adds support for in-block configuration (based on @tessus's idea) which can be used to set display options as well as notation.
  • Adds support for inline calculations

The plugin is not yet available on the Joplin plugin repository, but I have published, so it should be available soon!



This plugin reminds me of https://soulver.com/, very useful, thank you!

1 Like