LinkPathHeadingSuggestion
A suggested heading of the file a link path resolves to.
Import:
import type { LinkPathHeadingSuggestion } from '@mnaoumov/obsidian-lib/link-path-input-suggest';Signature:
export interface LinkPathHeadingSuggestionProperties
| Property | Type | Description |
|---|---|---|
| file | TFile | The file the heading belongs to. |
| heading | HeadingCache | The heading. |
| matches? | SearchMatches | The characters of the heading text the query matched, highlighted when the suggestion renders. Nothing is highlighted when omitted. |
| value | string | The whole link path the input takes when the suggestion is picked: the path, #, and the heading as a link subpath. |
Links to this page: