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