Skip to content

HighlightedLine

The classes of one line.

Import:

import type { HighlightedLine } from '@mnaoumov/obsidian-markdown-parser';

Signature:

export interface HighlightedLine

Properties

PropertyTypeDescription
classesreadonly string[]The line classes (rendered on .cm-line).
fromnumberThe document offset of the line's start.
spansreadonly ClassSpan[]The token spans on the line.
tonumberThe document offset of the line's end, before its newline.

Links to this page: