1.0.8 • Published 2 months ago

codemirror-wrapped-line-indent v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Wrapped Line Indentation for CodeMirror

An extension for CodeMirror that adds indentation for wrapped lines.

Installation

Using npm:

npm install codemirror-wrapped-line-indent

Usage

import { EditorState } from '@codemirror/state';
import { EditorView } from '@codemirror/view';
import { wrappedLineIndent } from 'codemirror-wrapped-line-indent';

// ... your CodeMirror setup code ...

const state = EditorState.create({
  // ... other state options ...
  extensions: [
    EditorView.lineWrapping,
    wrappedLineIndent
  ]
});

const view = new EditorView({ state });

License

MIT

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.6-alpha.7

2 months ago

1.0.6-alpha.8

2 months ago

1.0.8-alpha.0

2 months ago

1.0.6-alpha.1

2 months ago

1.0.6-alpha.0

2 months ago

1.0.6-0

2 months ago

1.0.6-alpha.6

2 months ago

1.0.6-alpha.3

2 months ago

1.0.6-alpha.2

2 months ago

1.0.6-alpha.5

2 months ago

1.0.6-alpha.4

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.4-beta.0

2 months ago

1.0.4-beta.1

2 months ago

1.0.4-beta.2

2 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.3

3 months ago

1.0.0

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago