Function: link()
link(
ref,title?):string
Defined in: lib/markdown.ts:164
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)