Skip to content

Open

The open file action opens a file or URL.

interface OpenButtonAction {
type: 'open';
link: string; // the file link ([[file]]) or URL (https://www.example.com) to open
newTab?: boolean; // whether to open the link in a new tab
}

Example

This button opens the Meta Bind Docs in your default browser.

```meta-bind-button
style: primary
label: Open Meta Bind Docs
action:
type: open
link: https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/
```