HighlightedLine
The classes of one line.
Import:
import type { HighlightedLine } from '@mnaoumov/obsidian-markdown-parser';Signature:
export interface HighlightedLineProperties
| Property | Type | Description |
|---|---|---|
| classes | readonly string[] | The line classes (rendered on .cm-line). |
| from | number | The document offset of the line's start. |
| spans | readonly ClassSpan[] | The token spans on the line. |
| to | number | The document offset of the line's end, before its newline. |
Links to this page: