@remirror/extension-code
v3.0.1
Published
Adds the inline code `mark` to your text editor.
Downloads
147,231
Readme
@remirror/extension-code
Adds the inline code
mark
to your text editor.
Installation
# yarn
yarn add @remirror/extension-code
# pnpm
pnpm add @remirror/extension-code
# npm
npm install @remirror/extension-code
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror/extensions
.
Usage
The following code creates an instance of this extension.
import { CodeExtension } from 'remirror/extensions';
const extension = new CodeExtension();