pub enum XrefStyle {
Full,
Short,
Basic,
}Expand description
The cross-reference text style selected by the xrefstyle attribute.
The style is chosen from the xrefstyle value in effect for a reference:
the xrefstyle= attribute on the xref: macro if present, otherwise the
document-wide xrefstyle attribute. It controls how the automatic text of a
cross-reference is generated for a target that carries a reference number
(see Cross reference styles).
A reference whose xrefstyle is unset has no XrefStyle; it uses the
target’s reference text verbatim. An unrecognized value is treated as
Basic, mirroring Asciidoctor.
Variants§
Full
The signifier and number followed by the title, quoted (or emphasized
for a chapter or appendix): e.g. Section 2.3, “Installation”.
Short
The signifier and number only: e.g. Section 2.3.
Basic
The title only, emphasized for a chapter or appendix: e.g.
Installation.