Skip to content

Commit

Permalink
docs: let mac open url in background (#80)
Browse files Browse the repository at this point in the history
* doc: let mac open url in background

* fix typo

Co-authored-by: wudanyang <wudanyang@baidu.com>
Co-authored-by: Vinzent <vinzent03@proton.me>
  • Loading branch information
3 people authored Sep 26, 2022
1 parent f22b462 commit e10d345
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,11 @@ For `xdg-open` the whole uri has to be encoded twice. See [encoding](concepts/en

```bash
xdg-open "obsidian://advanced-uri?filepath=Home%2520Index%252Ftoday"
```
```

#### Mac
You can use Mac shell command `open` to launch Obsidian, and with `--background` let Obsidian run in background.

```bash
open --background "obsidian://advanced-uri?vault=my-vault&filename=my-file&data=my-data"
```

0 comments on commit e10d345

Please sign in to comment.