Function: link()
link(
ref
,title
?):string
Function to link to an external resource.
Parameters
• ref: string
The reference to link to.
• title?: string
The title/label of the link.
Returns
string
Markdown link to the external resource.
Example
console.log(link('https://example.com', 'Example'));
// Prints:
//
// [Example](https://example.com)