-
I have a document with figures and cross references. Unfortunately, it is long and I can’t seem to isolate the issue in a reproducible way. However, there’s something curious with the cross references. Assuming the following chunk and cross reference: #| label: fig-foo
In the rendered document the cross reference does not work. Looking at the preview page I saw the link to the figure was: http://localhost:3749/path/to/file/#fig-fooD08295A6-16DC-499D-85A8-8BA656E013A2 If I cross reference to The string I’ve changed the file from .qmd to .Rmd, I’ve renamed it, and put it in different locations. That long string is still sneaking in somehow. Anyone have a sense of what is going on and how I can rid the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I think something in our end is getting confused. That string you're seeing is a UUID we use internally that should be getting cleared out and isn't. In the meantime, can you try the following syntax instead?
|
Beta Was this translation helpful? Give feedback.
-
I pasted this into a new document and got the same result. It should be reproducible.
@fig-ice-detention-current
@fig-total-confirmed-covid-19
|
Beta Was this translation helpful? Give feedback.
-
Okay, I've resolved the issue here: d4e12dc Your example should now behave as you expect (although pls. note that crossrefs are case-sensitive so you need to change |
Beta Was this translation helpful? Give feedback.
Okay, I've resolved the issue here: d4e12dc
Your example should now behave as you expect (although pls. note that crossrefs are case-sensitive so you need to change
@fig-Total-Confirmed-COVID-19
to@fig-total-confirmed-covid-19
)