44
55<!-- rehype:ignore:end-->
66
7- [ ![ npm version] ( https://img.shields.io/npm/v/@uiw/codemirror-extensions-mentions .svg )] ( https://www.npmjs.com/package/@uiw/codemirror-extensions-mentions )
7+ [ ![ npm version] ( https://img.shields.io/npm/v/@uiw/codemirror-extensions-zebra-stripes .svg )] ( https://www.npmjs.com/package/@uiw/codemirror-extensions-zebra-stripes )
88
99Styles alternating lines for CodeMirror6.
1010
11- [ ![ Zebra Stripes Extensions] ( https://user-images.githubusercontent.com/1680273/205496628-e7e6f83f-18e9-4bff-8bc8-71a913c60687.png )] ( https://uiwjs.github.io/react-codemirror/#/extensions/mentions )
11+ [ ![ Zebra Stripes Extensions] ( https://user-images.githubusercontent.com/1680273/205496628-e7e6f83f-18e9-4bff-8bc8-71a913c60687.png )] ( https://uiwjs.github.io/react-codemirror/#/extensions/zebra-stripes )
1212
1313## Install
1414
1515``` bash
16- npm install @uiw/codemirror-zebra-stripes --save
16+ npm install @uiw/codemirror-extensions- zebra-stripes --save
1717```
1818
1919## Usage
2020
2121``` jsx
2222import CodeMirror from ' @uiw/react-codemirror' ;
23- import { zebraStripes } from ' @uiw/codemirror-zebra-stripes' ;
23+ import { zebraStripes } from ' @uiw/codemirror-extensions- zebra-stripes' ;
2424
2525function App () {
2626 return < CodeMirror value= " " height= " 200px" extensions= {[zebraStripes ({ step: 2 })]} / > ;
@@ -30,7 +30,7 @@ export default App;
3030
3131``` jsx
3232import CodeMirror from ' @uiw/react-codemirror' ;
33- import { zebraStripes } from ' @uiw/codemirror-zebra-stripes' ;
33+ import { zebraStripes } from ' @uiw/codemirror-extensions- zebra-stripes' ;
3434
3535function App () {
3636 return (
@@ -53,7 +53,7 @@ export default App;
5353``` js
5454import { EditorView } from ' @codemirror/view' ;
5555import { EditorState } from ' @codemirror/state' ;
56- import { zebraStripes } from ' @uiw/codemirror-zebra-stripes' ;
56+ import { zebraStripes } from ' @uiw/codemirror-extensions- zebra-stripes' ;
5757
5858const state = EditorState .create ({
5959 doc: ' my source code' ,
0 commit comments