I think the table here explains it:
I think if you put the xref in an attribute it will get substituted, and it’s possible you can adjust which substitutions are applied to the caption, although I don’t immediately see how. That’s explained near the end of the section.
David Jencks
On Feb 24, 2020, at 4:56 PM, siddjain [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hello, If I make a xref in the caption of a figure, the xref is not processed by asciidoc. Example:
.My caption. See <<iam>> for details
image::components.png[]
later in the doc
[id=iam]
== A Section
Expected:
<<iam>> should be processed by asciidoc and reference to the section inserted
Observed:
xref is not processed
is this a known issue or is there something i am not doing correctly?