( app: App, targetFile: TFile, sourcePath: string, displayName: string, useMarkdownLinks?: boolean )
| 260 | * @returns A link with custom display name as alias |
| 261 | */ |
| 262 | export function generateLinkWithDisplay( |
| 263 | app: App, |
| 264 | targetFile: TFile, |
| 265 | sourcePath: string, |
| 266 | displayName: string, |
| 267 | useMarkdownLinks?: boolean |
| 268 | ): string { |
| 269 | return generateLink(app, targetFile, sourcePath, "", displayName, useMarkdownLinks); |
| 270 | } |
no test coverage detected