Skip to content

Commit a138bb9

Browse files
authored
📖 Fix custom numref labels (#517)
The reference label needs to be inside the `{numref}` backtick element.
1 parent e37d0c1 commit a138bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/exercises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Furthermore, `numref` can take in three additional placeholders for more customi
152152
3. _{name}_ by the exercise title.[^note]
153153

154154
For example,\
155-
`` {numref}`My custom {number} and {name}` <my-exercise-label>``.
155+
`` {numref}`My custom {number} and {name} <my-exercise-label>` ``.
156156

157157
[^note]: If the exercise directive does not have a title, the `label` will be used instead.
158158

0 commit comments

Comments
 (0)