Skip to content

getLinkpath

Code location

getLinkpath(linktext): string

Converts the linktext to a linkpath.

Parameters

linktext: string

A wikilink without the leading [[ and trailing ]]

Returns

string

the name of the file that is being linked to.