@remirror/extension-text-highlight

Add a color background to the selected text (or text within a specified range).

Usage no npm install needed!

<script type="module">
  import remirrorExtensionTextHighlight from 'https://cdn.skypack.dev/@remirror/extension-text-highlight';
</script>

README

@remirror/extension-text-highlight

Add a color background to the selected text (or text within a specified range).

Version Weekly Downloads Bundled size Typed Codebase MIT License

Installation

# yarn
yarn add @remirror/extension-text-highlight

# pnpm
pnpm add @remirror/extension-text-highlight

# npm
npm install @remirror/extension-text-highlight

Usage

The following code creates an instance of this extension.

import { TextHighlightExtension } from '@remirror/extension-text-highlight';

const extension = new TextHighlightExtension();