Skip to content

BlockSubpathResult

Official

Subpath result for a block from resolveSubpath

Import:

import type { BlockSubpathResult } from 'obsidian';

Example:

console.log(resolveSubpath(myNoteCache, '#^foo'));

Signature:

export interface BlockSubpathResult extends SubpathResult

Extends: SubpathResult

Properties

PropertyTypeDescription
blockBlockCacheThe block cache.
endLoc | nullThe end location of the subpath.
(Inherited from SubpathResult)
list?ListItemCacheThe list item cache, in case the block is a list item.
startLocThe start location of the subpath.
(Inherited from SubpathResult)
type'block'The type of the subpath result.

Links to this page: