Skip to content

Files

Latest commit

c121279 · Jul 31, 2022

History

History

logseq-slash-commands

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 11, 2021
May 11, 2021
Jan 13, 2022
Jan 13, 2022
Jul 31, 2022

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.