Skip to content

Commit 8b7e13d

Browse files
authored
Clarify requirements for code-links: repo (#1608)
1 parent ba6ce26 commit 8b7e13d

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)