Vizel API / core/src / createVizelHighlightExtension
Function: createVizelHighlightExtension()
ts
function createVizelHighlightExtension(options?): Extensions;Defined in: packages/core/src/extensions/highlight.ts:29
Create the highlight mark extension.
The highlight palette (VIZEL_HIGHLIGHT_COLORS) and palette helpers (getVizelRecentColors("highlight"), addVizelRecentColor("highlight", ...), applyVizelColorToEditor(editor, "highlight", color)) continue to live in text-color.ts because the color picker UI consumes both text color and highlight palettes from the same module.
Parameters
| Parameter | Type |
|---|---|
options | VizelHighlightOptions |
Returns
Extensions