Token
Unofficial
A clickable token in the editor with position, text, and type information.
Import:
import type { Token } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface Token extends EditorRangeExtends: EditorRange
Properties
| Property | Type | Description | |
|---|---|---|---|
| from | EditorPosition | The start position. (Inherited from EditorRange) | |
| text | string | Text content of the token. | |
| to | EditorPosition | The end position. (Inherited from EditorRange) | |
| type | 'external-link' | 'internal-link' | 'tag' | Type of the token. |