saveNote
Saves the specified note in the Obsidian app.
Import:
import { saveNote } from 'obsidian-dev-utils/obsidian/vault';Signature:
function saveNote(app: App, pathOrFile: PathOrFile): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
pathOrFile | PathOrFile | The note to be saved. |
Returns: Promise<void> — A Promise that resolves when the note is saved.