UNPKG

joplin-plugin-math-mode

Version:

A plugin for inputting and evaluating math in markdown code blocks. It's built on top of the excellent [mathjs](https://mathjs.org/), meaning it can be used to perform symbolic calculation, vector math and can even handle units!

30 lines (20 loc) 1.25 kB
# Basic ## Road Trip An example of using the calculations while planning. A basic plugin using simple arithmetic across multiple code blocks. ![example of planning a road trip](./road_trip.png) ## Monthly Budget An example showing the usage of the `total` variable. Any continuous block of calculations will be added together into a `total`. This example also demonstrates the `displaytotal` config option. ![example of a monthly budget](./monthly_budget.png) ## What I Owe Mom Another `total` example that demonstrates the explicit addition and summation syntax for the `total` variable. ![example of splitting bills](./what_i_owe_mom.png) ## Euro Trip Example that demonstrates the use of currency conversion. Also uses the `total` variable to sum up the daily cost of a trip. ![example of foreign trip planning](./euro_trip.png) # Advanced ## Burger An example of a recipe with a configurable number of portions, demonstrating unit handling and some settings. ![burger recipe with math blocks](./burger.png) ## Compound Interest An example that uses math to demonstrate the power of compound interest. This example demonstrates some of the more advanced features of mathjs. ![compound interest calculations](./compound_interest.png)