ClassSpan
A run of characters with the classes the editor gives them.
Import:
import type { ClassSpan } from '@mnaoumov/obsidian-markdown-parser';Signature:
export interface ClassSpanProperties
| Property | Type | Description |
|---|---|---|
| classes | readonly string[] | The classes, in the order the mode emitted them (duplicates kept). |
| from | number | The document offset where the span starts. |
| to | number | The document offset where the span ends. |
Links to this page: