This simple plugin relies on MathJS to perform a basic evaluate() on anything between two carets.
^<math here>^
Example:
Markdown | Output |
---|---|
^1+1^ |
2 |
^sqrt(9)^ |
3 |
^hello world^ |
Undefined symbol hello |
^sin(1)^ |
0.8414709848078965 |
- Publish initial plugin
- Set up unit tests
- Set up CI/CD using above unit tests
- ???
- Profit
- Takuya Matsuyama, developer of Inkdrop
- Takuya Matsuyama, author of Inkdrop's Math plugin
- Rory Olsen, who helped me get this off the ground and working in spite of my lack of Javascript experience.