getLinkpath

getLinkpath() function

Converts the linktext to a linkpath.

Signature:

export function getLinkpath(linktext: string): string;

Parameters

ParameterTypeDescription
linktextstringA wikilink without the leading and trailing

Returns:

string

the name of the file that is being linked to.