Detalhes do pacote

@remirror/extension-code

remirror202.7kMIT3.0.1

Adds the inline code mark to your text editor.

remirror, extension

readme (leia-me)

@remirror/extension-code

Adds the inline code mark to your text editor.

Version Weekly Downloads Bundled size Typed Codebase MIT License

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();