hyperlink
declare function hyperlink<C extends string>(content: C, url: URL): `[${C}](${string})`;
declare function hyperlink<C extends string>(content: C, url: URL): `[${C}](${string})`;
Formats the content and the URL into a masked URL
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | string | No | None |
Name | Type | Optional | Description |
---|---|---|---|
content | C | No | The content to display |
url | URL | No | The URL the content links to |