Skip to content

Cm5LineInfo

Unofficial

Information about a line in a CodeMirror 5 editor.

Import:

import type { Cm5LineInfo } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface Cm5LineInfo

Properties

Property Type Description
bgClass string The background CSS class.
gutterMarkers unknown Object mapping gutter IDs to marker elements.
handle Cm5LineHandle The line handle.
line number The line number.
text string The text content of the line.
textClass string The text CSS class.
widgets unknown Array of line widgets attached to this line.
wrapClass string The wrapper CSS class.

Links to this page: