Skip to content

Vault.getResourcePath method

Vault › getResourcePath

Official

Returns a URI for the browser engine to use, for example to embed an image.

Signature:

getResourcePath(file: TFile): string

Parameters:

Parameter Type Description
file TFile

Returns: string

Since: 0.9.7