toFrontmatterChangeWithOffsets
Converts a frontmatter change to a frontmatter change with offsets.
Import:
import { toFrontmatterChangeWithOffsets } from 'obsidian-dev-utils/obsidian/file-change';Signature:
function toFrontmatterChangeWithOffsets(fileChange: FrontmatterChange): FrontmatterChangeWithOffsetsParameters:
| Parameter | Type | Description |
|---|---|---|
fileChange | FrontmatterChange | The file change to convert. |
Returns: FrontmatterChangeWithOffsets — The converted file change.