Skip to content

ParseLinkFrontmatterReferenceWithOffsets

A ParseLinkFrontmatterReference for a link parsed from a multi-link frontmatter value via parseLinks, additionally carrying the offsets of the link within the frontmatter value. Use this when the frontmatter value holds multiple links.

Import:

import type { ParseLinkFrontmatterReferenceWithOffsets } from 'obsidian-dev-utils/obsidian/parse-link';

Signature:

export interface ParseLinkFrontmatterReferenceWithOffsets extends ParseLinkFrontmatterReference

Extends: ParseLinkFrontmatterReference

Properties

PropertyTypeDescription
endOffsetnumberAn end offset of the link in the frontmatter value.
parseLinkResultParseLinkResultThe result of parsing the link.
(Inherited from ParseLinkFrontmatterReference)
startOffsetnumberA start offset of the link in the frontmatter value.

Links to this page: