Skip to content

getLinkpath

getLinkpath(linktext): string

Defined in: obsidian.d.ts:1894

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.