Skip to content

Latest commit

 

History

History
 
 

logseq-slash-commands

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.