<ref>

The <ref> component renders a link to another Doenet document or to an external website.

Attributes and Properties

Attributes for <ref>
AttributeTypeValues
createButton = "…""true" "false"
textType = "…"text
to = "…"
Props for <ref name="r">
PropertyType
$r.disabledboolean
$r.fixedboolean
$r.fixLocationboolean
$r.hiddenboolean
$r.linkTexttext
$r.texttext
$r.textTypetext
$r.urltext

Example: <ref> to an external website

In the example above, the to attribute of the <ref> component is used with the address of an external webpage to create a link within a paragraph.


Attribute Example: createButton

The createButton attribute is used render the link in button format.