Skip to content

Commit 0e5659f

Browse files
authored
Update README.md
1 parent 6e0689e commit 0e5659f

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@
1212

1313
[CodeMirror(6)](https://codemirror.net/6/docs/) component for Vue(3).
1414

15-
### Example
16-
17-
- [Examples (Vue3)](https://github.surmon.me/vue-codemirror)
18-
- [Examples (Vue2)](https://v1.github.surmon.me/vue-codemirror)
19-
2015
### Documentation
2116

17+
- [Examples (Vue3)](https://github.surmon.me/vue-codemirror)
2218
- [CodeMirror6 guide](https://codemirror.net/6/docs/guide/)
2319
- [CodeMirror6 APIs](https://codemirror.net/6/docs/ref/)
2420
- [CodeMirror6 examples](https://codemirror.net/6/examples/)
@@ -29,6 +25,9 @@
2925
### Legacy version
3026

3127
- [[email protected] (Vue2 / CodeMirror5)](https://github.com/surmon-china/vue-codemirror/tree/v4.0.0)
28+
- [Examples (Vue2)](https://v1.github.surmon.me/vue-codemirror)
29+
30+
---
3231

3332
### How to use
3433

@@ -44,16 +43,16 @@ npm install vue-codemirror --save
4443

4544
#### Depending on your actual needs, you may need to install more CodeMirror packages
4645

47-
```base
48-
// CodeMirror languages...
46+
```bash
47+
# CodeMirror languages...
4948
yarn @codemirror/lang-html
5049
yarn @codemirror/lang-json
5150
yarn @codemirror/lang-javascript
5251

53-
// CodeMirror themes...
52+
# CodeMirror themes...
5453
yarn @codemirror/theme-one-dark
5554

56-
// more CodeMirror packages...
55+
# more CodeMirror packages...
5756
```
5857

5958
#### local component

0 commit comments

Comments
 (0)