Skip to content
/ calc Public

Inkdrop plugin for inline (and maybe more) calculation

License

Notifications You must be signed in to change notification settings

arkag/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inkdrop Calculator

This simple plugin relies on MathJS to perform a basic evaluate() on anything between two carets.

Usage

^<math here>^

Example:

Markdown Output
^1+1^ 2
^sqrt(9)^ 3
^hello world^ Undefined symbol hello
^sin(1)^ 0.8414709848078965

To-do

  • Publish initial plugin
  • Set up unit tests
  • Set up CI/CD using above unit tests
  • ???
  • Profit

Credits

  1. Takuya Matsuyama, developer of Inkdrop
  2. Takuya Matsuyama, author of Inkdrop's Math plugin
  3. Rory Olsen, who helped me get this off the ground and working in spite of my lack of Javascript experience.

About

Inkdrop plugin for inline (and maybe more) calculation

Resources

License

Stars

Watchers

Forks

Packages

No packages published