JSPM

@remirror/extension-code

2.0.0-beta.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 67094
  • Score
    100M100P100Q161062F
  • License MIT

Adds the inline code `mark` to your text editor.

Package Exports

  • @remirror/extension-code
  • @remirror/extension-code/package.json

Readme

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