ɐuıɥɔɐɯ ɐuıɥɔɐɯ - 1 year ago 116
Markdown Question

AsciiDoc "referenced links" (as in Markdown)

Reference-style links are quite useful since I can refer to the links by its names. For instance, in Markdown I'm used to do something like:

The [Web site][tag-web-site] references...blah.

[tag-web-site]: https://web-site-url.tld

...and it will create a link based on the

Is there any way I can mimic this functionality in AsciiDoc? I've tried but so far I can't find anything.

Answer Source

AsciiDoc doesn’t have reference-style links, but you can use attributes (variables) for the same purpose.

= Title
:tag-web-site: https://web-site-url.tld

The {tag-web-site}[Web site] references...blah.

Such attributes are usually prefixed with uri-, like uri-web-site.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download