Skip to content

@comfit/wasm / HighlightOptions

Interface: HighlightOptions

Defined in: types.ts:28

Options for line emphasis and bracket-depth collection.

Extended by

Properties

highlightedLines?

optional highlightedLines?: readonly number[]

Defined in: types.ts:30

One-based source lines to emphasize. Defaults to an empty list.


rainbow?

optional rainbow?: boolean

Defined in: types.ts:32

Collect bracket depths. Defaults to true.