Turns all URLs and email addresses into hyperlinks.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text | string | Yes | The text to create links in. | |
link | string | No | all | Whether to link URLs, email addresses or both. Possible values are: all (default), URLs and emailAddresses. |
relative | boolean | No | true | Should we autolink relative urls |
#autoLink("Download CFWheels from http://cfwheels.org/download")# -> Download CFWheels from <a href="http://cfwheels.org/download">http://cfwheels.org/download</a> #autoLink("Email us at [email protected]")# -> Email us at <a href="mailto:[email protected]">[email protected]</a>