Skip to content

SelectionMatchHighlighter

Defined in: extensions/search/selection.ts:4

SelectionMatchHighlighter(editor, options): any

Defined in: extensions/search/selection.ts:4

PrismEditor<{ }>

EditorOptions

any

optional api: SearchAPI

Defined in: extensions/search/selection.ts:10

Search API used by the extension. Can be used get the position of the matches for example. This property is only present after the extension is added to an editor.