Skip to content

Commit

Permalink
docs: note embeds and update git hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Dec 16, 2023
1 parent ed9bd43 commit 3c01b92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/features/wikilinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ This is enabled as a part of [[Obsidian compatibility]] and can be configured an
- `[[Path to file | Here's the title override]]`: produces a link to `Path to file.md` with the text `Here's the title override`
- `[[Path to file#Anchor]]`: produces a link to the anchor `Anchor` in the file `Path to file.md`
- `[[Path to file#^block-ref]]`: produces a link to the specific block `block-ref` in the file `Path to file.md`

### Embeds

- `![[Path to image]]`: embeds an image into the page
- `![[Path to image|100x145]]`: embeds an image into the page with dimensions 100px by 145px
- `![[Path to file]]`: transclude an entire page
- `![[Path to file#Anchor]]`: transclude everything under the header `Anchor`
- `![[Path to file#^b15695]]`: transclude block with ID `^b15695`
4 changes: 4 additions & 0 deletions docs/setting up your GitHub repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ Then, you can sync the content to upload it to your repository.
```bash
npx quartz sync
```

> [!hint]
> If `npx quartz sync` fails with `fatal: --[no-]autostash option is only valid with --rebase`, you
> may have an outdated version of `git`. Updating `git` should fix this issue.

0 comments on commit 3c01b92

Please sign in to comment.