Skip to content

Commit 7d7d5eb

Browse files
committed
doc: Update README.md
1 parent 3535076 commit 7d7d5eb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ A simple code editor with syntax highlighting. This library aims to provide a si
2727
$ npm i @uiw/react-textarea-code-editor
2828
```
2929

30+
## Demo & Document
31+
32+
https://uiwjs.github.io/react-textarea-code-editor/
33+
34+
3035
## Usage
3136

3237
[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?logo=codesandbox)](https://codesandbox.io/embed/summer-bush-o3qirc?fontsize=14&hidenavigation=1&theme=dark)
@@ -58,7 +63,7 @@ function App() {
5863

5964
## Highlight line or character
6065

61-
[![Open in CodeSandbox](https://codesandbox.io/embed/https-github-com-uiwjs-react-textarea-code-editor-issues-151-nsm7qp?fontsize=14&hidenavigation=1&theme=dark)
66+
[![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?logo=codesandbox)](https://codesandbox.io/embed/https-github-com-uiwjs-react-textarea-code-editor-issues-151-nsm7qp?fontsize=14&hidenavigation=1&theme=dark)
6267

6368
```jsx
6469
import CodeEditor from '@uiw/react-textarea-code-editor';
@@ -231,11 +236,8 @@ interface TextareaCodeEditorProps extends React.TextareaHTMLAttributes<HTMLTextA
231236
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void | boolean;
232237
}
233238
```
234-
List of supported languages can be found [here](https://github.com/wooorm/refractor#syntaxes)
235-
236-
## Demo
237239
238-
https://uiwjs.github.io/react-textarea-code-editor/
240+
List of supported languages can be found [here](https://github.com/wooorm/refractor#syntaxes)
239241
240242
## Development
241243

0 commit comments

Comments
 (0)