Skip to content

Latest commit

History

History
21 lines (12 loc) 路 610 Bytes

File metadata and controls

21 lines (12 loc) 路 610 Bytes

Slash Commands Sample

馃挜 This is a plugin that shows how to register slash command handler.

Demo

demo

API

npm version

Logseq.Editor
  • registerSlashCommand: (this: LSPluginUser, tag: string, actions: Array<SlashCommandAction>) => boolean
  • showMsg: (content: string, status?: 'success' | 'warning' | string) => void

Running the Sample

  • Load unpacked plugin in Logseq Desktop client.