Please fill out these Check-boxes
Is your Feature Request related to a Problem or Annoyance?
It would be helpfull to define custom functions for mathjs, now I have some really long math-views that could benefit from defining custom functions
could use be clamp():
VIEW[min(max(0,{num}),10)][math]
manual formatting that should really be its own function:
VIEW[ concat(isPositive({memory^STR_mod})?'+':'', string({memory^STR_mod})) ][math]
Describe the Feature you'd like
I would like some way to get access to mathjs.import() (see docs). Either as a config or vie the js-api (similar to how itertools is exposed in js-engin or maybe as a API function?)
Alternatives
I can write JS-View and import my own js there, but they are always block element and not inline, which comes with its own set of annoyances.
Another alternative would be to make VIEW's back-referenceable, similar to how inline-buttons can be created from an invisible block button.
Additional Context
No response
Please fill out these Check-boxes
Is your Feature Request related to a Problem or Annoyance?
It would be helpfull to define custom functions for
mathjs, now I have some really long math-views that could benefit from defining custom functionscould use be
clamp():manual formatting that should really be its own function:
Describe the Feature you'd like
I would like some way to get access to
mathjs.import()(see docs). Either as a config or vie the js-api (similar to howitertoolsis exposed in js-engin or maybe as a API function?)Alternatives
I can write JS-View and import my own js there, but they are always block element and not inline, which comes with its own set of annoyances.
Another alternative would be to make VIEW's back-referenceable, similar to how inline-buttons can be created from an invisible block button.
Additional Context
No response