You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manuscripts/components.qmd
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -89,13 +89,11 @@ manuscript:
89
89
Use `code-links` to add links that will appear on your manuscript webpage under the heading "Code Links". For example, the following adds a link to a Python script:
90
90
91
91
```{.yaml filename="_quarto.yml"}
92
-
---
93
92
manuscript:
94
93
code-links:
95
94
- text: Data Import Code
96
95
icon: file-code
97
96
href: data-import.py
98
-
---
99
97
```
100
98
101
99
You can provide the following options for items in `code-links`:
@@ -114,11 +112,21 @@ There are also two special values you can pass as items to `code-links`:
114
112
115
113
`repo`
116
114
117
-
: Add a link to "GitHub Repo" under "Code Links" that points at the GitHub repository of your manuscript.
115
+
: Add a link to "GitHub Repo" under "Code Links" that points at the GitHub repository of your manuscript:
116
+
117
+
```{.yaml filename="_quarto.yml"}
118
+
manuscript:
119
+
code-links: repo
120
+
```
118
121
119
122
`binder`
120
123
121
-
: Add a link to “Launch Binder” under "Code Links" if your manuscript is configured to [Use Binder](#using-binder).
124
+
: Add a link to “Launch Binder” under "Code Links" if your manuscript is configured to [Use Binder](#using-binder):
0 commit comments