Login  Register

Re: asciidoctor cross reference formatting

Posted by instinctive on Oct 19, 2019; 12:31am
URL: https://discuss.asciidoctor.org/asciidoctor-cross-reference-formatting-tp7253p7255.html

Thanks so much for the reply. Indeed, this fixes the problem, and I'm
grateful that it suffices to specify the reftext at the anchor site and not
in every link reference.

However, I'm confused as to why the default behavior does not use
implied reftext, and why the default is square brackets. This default
behavior is not illuminated anywhere in the asciidoctor user manual
that I can find.

So now I must double every anchor:

[[anchor-foo,anchor-foo]]
[[anchor-bar,anchor-bar]]

Thanks again for the speedy reply, and your work on this great tool.