name: directive requiredPermissions: - fetch functions: updateDirectivesOnPageCommand: path: ./command.ts:updateDirectivesOnPageCommand command: name: "Directives: Update" key: "Alt-q" events: - editor:pageLoaded indexData: path: ./data.ts:indexData events: - page:index dataQueryProvider: path: ./data.ts:queryProvider events: - query:data queryComplete: path: ./complete.ts:queryComplete events: - editor:complete handlebarHelperComplete: path: ./complete.ts:handlebarHelperComplete events: - editor:complete # Templates insertQuery: redirect: core.insertTemplateText slashCommand: name: query description: Insert a query value: | insertInclude: redirect: core.insertTemplateText slashCommand: name: include description: Include another page value: | insertUseTemplate: redirect: core.insertTemplateText slashCommand: name: use description: Use a template value: | insertUseVerboseTemplate: redirect: core.insertTemplateText slashCommand: name: use-verbose description: Use a template (verbose mode) value: | insertEvalTemplate: redirect: core.insertTemplateText slashCommand: name: eval description: Evaluate a JavaScript expression value: |