Skip to content

Commit 2dcb1ef

Browse files
author
積丹尼 Dan Jacobson
authored
Clarify figure reference syntax in figures.qmd
Added a note about the space before the '@' in figure references. No space, no reference!
1 parent 5814aad commit 2dcb1ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/authoring/figures.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ You can cross-reference figures by adding an ID with the `fig-` prefix to them,
138138
``` markdown
139139
![An Elephant](elephant.png){#fig-elephant}
140140
141-
This is illustrated well by @fig-elephant.
141+
This is illustrated well by @fig-elephant. (Note the space before the `@`!)
142142
```
143143

144144
For figures produced by executable code cells, include a `label` with a `fig-` prefix to make them cross-referenceable. For example:

0 commit comments

Comments
 (0)