Skip to content

LinkValue.parseFromString method

LinkValue › parseFromString

Official

Create a new LinkValue from wikilink syntax.

Signature:

parseFromString(app: App, input: string, sourcePath: string): LinkValue | null

Parameters:

Parameter Type Description
app App
input string
sourcePath string

Returns: LinkValue | null

Since: 1.10.0

Example:

parseFromString("[[Welcome|Example Link]]")