Skip to content

InlineTokenShouldDecorateParams

Parameters handed to CreateInlineTokenWidgetsExtensionParams.shouldDecorate.

Import:

import type { InlineTokenShouldDecorateParams } from '@mnaoumov/obsidian-lib/codemirror/inline-token-widgets';

Signature:

export interface InlineTokenShouldDecorateParams

Properties

PropertyTypeDescription
fromnumberThe document position the match starts at.
matchRegExpExecArrayThe match of the token's regular expression.
stateEditorStateThe editor state.
tonumberThe document position the match ends at.

Links to this page: