Skip to content

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 EditorRange

Extends: 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.