WikilinkDirectiveScanState
The running state of a directive scan, threaded through the per-line helpers.
Import:
import type { WikilinkDirectiveScanState } from 'obsidian-dev-utils/script-utils/demo-vault-coverage';Signature:
export interface WikilinkDirectiveScanStateProperties
| Property | Type | Description |
|---|---|---|
| allowedLineIndexes | Set<number> | The lines a directive has allowed a wikilink on so far. |
| openRegion | null | OpenWikilinkDirectiveRegion | The region currently open, and whether it has covered a wikilink yet. |
| pendingNextLineIndex | null | number | The line a disable-next-line was read on, while it still waits for the line it covers. |
| problems | string[] | The directive mistakes found so far. |
| wikilinkLineIndexes | ReadonlySet<number> | The lines of the note that carry a wikilink. |