Login  Register

Re: asciidoctor cross reference formatting

Posted by mojavelinux on Oct 19, 2019; 7:08am
URL: https://discuss.asciidoctor.org/asciidoctor-cross-reference-formatting-tp7253p7258.html

Oh, you can accomplish that. The syntax is as follows:

<<apple,apple>>

You also have the option of overriding the built-in converter and customizing the fallback text that way.

Best,

-Dan

On Fri, Oct 18, 2019 at 11:47 PM instinctive [via Asciidoctor :: Discussion] <[hidden email]> wrote:
tbh I would just expect the text of the anchor/xref, as given, if there is no reftext.
My use case: I am auto-generating AsciiDoc, where symbols link to the paragraph
in which they are defined. So the anchor text, as given, is exactly what I want,
since it IS the symbol.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-cross-reference-formatting-tp7253p7257.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux