You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
902 B

4 years ago
////
Included in:
- user-manual
////
.Link attributes and values
[cols="1l,1,2,2"]
|===
|Attribute |Value(s) |Example Syntax |Comments
|linkattrs
|
|`:linkattrs:`
|Must be set in the header to parse link macro attributes prior to 1.5.7.
Since 1.5.7, attributes are parsed automatically if an equal sign is found after a comma (e.g., `[link text,window=_blank]`).
|window
|blank
|$$http://discuss.asciidoctor.org[Discuss Asciidoctor,window=_blank]$$
|The blank window target can also be specified using `^` at the end of the link text.
|window
|$$^$$
|$$http://example.org["Google, Yahoo, Bing^"]$$ and $$http://discuss.asciidoctor.org[Discuss Asciidoctor^]$$
|
|role
|CSS classes available to inline elements
|$$http://discuss.asciidoctor.org[Discuss Asciidoctor,role=teal]$$
|
|id
|name of element, custom link text
|$$<<section-title,cross reference text>>$$
|Applies to cross references
|===