Custom variables, Scripting

Has anyone thought on implementing or creating a plugin that would support custom variables and scripting? Similar to what you would have on a spreadsheet.

Like if I type (x)[[23]] it creates a input field with the variable value of x (of course could be a better syntax). Then if you want to refer to this variable you can use {{x}} or do something like {{(x+a)*25}}. It could also assign to an array and you would call {{sum(array)}}. This could work for string manipulation as well.

Then it could evaluate that replacing on the markdown by running the plugin. So far the closest i found a javascript eval plugin but it is limited and messy to work with so i thought there could be a better way I didn't find yet.

There is a plugin for performing table calculations, it's probably a bit more similar to excel.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.