InlineTokenShouldDecorateParams
Parameters handed to CreateInlineTokenWidgetsExtensionParams.shouldDecorate.
Import:
import type { InlineTokenShouldDecorateParams } from '@mnaoumov/obsidian-lib/codemirror/inline-token-widgets';Signature:
export interface InlineTokenShouldDecorateParamsProperties
| Property | Type | Description |
|---|---|---|
| from | number | The document position the match starts at. |
| match | RegExpExecArray | The match of the token's regular expression. |
| state | EditorState | The editor state. |
| to | number | The document position the match ends at. |
Links to this page: