<ref>
The <ref> component renders a link to another Doenet document or to an external website.
Attributes and Properties
| Attribute | Type | Values |
|---|---|---|
createButton = "…" | "true" "false" | |
textType = "…" | text | |
to = "…" |
| Property | Type |
|---|---|
$r.disabled | boolean |
$r.fixed | boolean |
$r.fixLocation | boolean |
$r.hidden | boolean |
$r.linkText | text |
$r.text | text |
$r.textType | text |
$r.url | text |
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.