Skip to content

Miscellaneous

autoLink()

autoLink() — returns any

Turns all URLs and email addresses into hyperlinks.

NameTypeRequiredDefaultDescription
textstringyesThe text to create links in.
linkstringyesallWhether to link URLs, email addresses or both. Possible values are: all (default), URLs and emailAddresses.
relativebooleanyestrueShould 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 info@cfwheels.org")#
-> Email us at <a href="mailto:info@cfwheels.org">info@cfwheels.org</a>