getLinkpath() function
Converts the linktext to a linkpath.
Signature:
export function getLinkpath(linktext: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
linktext | string | A wikilink without the leading and trailing |
Returns:
string
the name of the file that is being linked to.