In R Bookdown, I would like to refer to a definition:
<!-- body or .Rmd file -->
The first definition is Definition \@ref(newterm) below:
::: {.definition #newterm name="new def 1"}
New def 1 is a definition for this e-book.
:::
When I render the book, I get the following rendered in the body of the index.html file:
The first definition is Definition ?? below:
Definition 1.1 (new term 1) New def 1 is definition for this e-book.
and the following warning message
Warning message:
The label(s) newterm not found
How can I reference this definition correctly?