Names given to linking attributes begin with link-, distinguishing them from any other descriptive attributes. Linking attributes are separated from the text content by a vertical bar |. Attributes are listed as pairs of name and corresponding value using the syntax: link-<attribute>="value".

Linking attributes are combined with any other descriptive attributes added to the same marker. The order of attributes is not significant, although it would benefit readability to have descriptive and linking attributes grouped together.

Note

When a standard USFM scripture reference is required, you must provide a string of pattern: [A-Z1-4]{3}?[a-z0-9\-,:]*

A link reference within the same project text does not require a URI prefix.

The resource may be identified by unique id.
Example: #article-Ruth or prj:GNTSB#article-Ruth

link-title:

Plain text describing the remote resource such as might be shown in a tooltip.

link-id:

A unique identifier for this content location (an anchor).

The set of URI prefixes used within a link-href attribute can be extended beyond the predefined set for USFM 3.0. Any user defined URI prefixes must begin with the prefix x-.

Examples:

Link to other project text

The traditional translation of verse 1, as given in
\jmp RSV|link-href="prj:RSV52 GEN 1:1" link-title="Revised Standard Version"\jmp*,
may be appropriate.

Link to illustration / media

Storehouses, as used here, refers to large buildings with walls and roof, where grain was
kept until needed. (See illustration: \jmp Storehouse|link-href="figures/storehouse.png"
link-title="Ancient storehouse"\jmp*)

Assigning an identifier (anchor). In this example the markup is a milestone, indicating a location but not marking text.

\q1 “Someone is shouting in the desert,
\q2 ‘Prepare a road for the Lord;
\q2 make a straight path for him to travel!’ ”
\esb \cat People\cat*
\ms \jmp |link-id="article-john_the_baptist"\jmp*John the Baptist
\p John is sometimes called the last “Old Testament prophet” because of the warnings he
brought about God's judgment and because he announced the coming of God's “Chosen
One” (Messiah).