Edit and run javascript code inside Logseq itself

in Macros examples you use logseq.kits.setStatic(function mypage(x) { } ). Is it the same as logseq.kits.mypage = ...?

  • The system will:
    • run once the page’s code, if needed

Also, if I change code of mypage function on mypage page, how to make loqseq to update it?

1 Like