makeLinkWithPath
Generates a string representation of a Link object that includes both the link text and the file path.
Import:
import { makeLinkWithPath } from '@mnaoumov/obsidian-lib/dataview-link';Signature:
function makeLinkWithPath(link: Link): stringParameters:
| Parameter | Type | Description |
|---|---|---|
link |
Link | The Link object to be converted to a string with its path. |
Returns: string — A string representing the link in the format: “linkText (linkPath)”.