Skip to content

Command Button Action

The command action runs an obsidian command.

interface CommandButtonAction {
type: 'command';
command: string; // the id of the command to run
}

Example

This button opens the Meta Bind FAQ page in obsidian.

```meta-bind-button
style: primary
label: Meta Bind Help
action:
type: command
command: obsidian-meta-bind-plugin:open-faq
```