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