Skip to content

Commit 265172d

Browse files
authored
Merge pull request #1617 from quarto-dev/sync-1608-to-prerelease
[Sync to prerelease] Clarify requirements for code-links: repo
2 parents 0b816dd + 3686661 commit 265172d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/manuscripts/components.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ There are also two special values you can pass as items to `code-links`:
119119
code-links: repo
120120
```
121121

122+
Quarto infers the URL for the link from the Git settings of your manuscript project.
123+
For `code-links: repo` to work, your manuscript project should be a Git repository,
124+
and have GitHub as the remote `origin`.
125+
122126
`binder`
123127

124128
: Add a link to “Launch Binder” under "Code Links" if your manuscript is configured to [Use Binder](#using-binder):

0 commit comments

Comments
 (0)