Every space-lua block on a Tool Page is indexed with the space-lua tag. Blocks on other pages don’t run, so they aren’t indexed. Upon client boot (or after using System: Reload), all space lua scripts are executed in sequence.

Field reference

  • ref: containing page and block position as page@pos.
  • script: Lua source inside the fence.
  • range: [start, end] range of the code inside the fence.
  • priority (optional): number from the block’s -- priority: <number> comment. Higher priorities load first. See Reference/Space Lua#Definition loading.

Blocks inside comments are excluded so they do not load.

Loading SilverBullet…