Skip to content

Instantly share code, notes, and snippets.

View brianvanderburg2's full-sized avatar

Brian Allen Vanderburg II brianvanderburg2

View GitHub Profile
@brianvanderburg2
brianvanderburg2 / trilium-calculator-widget.txt
Created October 18, 2024 03:12
Trilium calculator note widget
/* Create a code note, type JS Frontend, copy this entire text into it.
Add the following owned attributes to the widget note:
#widget #label:globalDisable="promoted,alias=Disable,single,boolean" #label:position="promoted,alias=Location (top/bottom),single,text" #globalDisable=false #position=top
To create a calculator note, create another code note type JS Frontend with the #calculator attribute set
Example calculator code note content: