ProcessFrontmatterParams<CustomFrontmatter = unknown>
Parameters for processFrontmatter.
Import:
import type { ProcessFrontmatterParams } from 'obsidian-dev-utils/obsidian/file-manager';Signature:
export interface ProcessFrontmatterParams<CustomFrontmatter = unknown> extends ProcessFrontmatterOptionsExtends: ProcessFrontmatterOptions
Properties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app instance. |
| pathOrFile | PathOrFile | The path or TFile object representing the note. |
Methods
| Method | Returns | Description |
|---|---|---|
| frontmatterFn(this, frontmatter, abortSignal) | Promisable<MaybeReturn<null>> | A function that modifies the front matter. |
Links to this page: