Skip to content

Commit fe4e50a

Browse files
committed
doc: Update document. (#248)
1 parent 83548f4 commit fe4e50a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

core/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export default function Demo() {
8181

8282
syntax: <code>```jsx {1,4-5}</code>
8383

84+
⚠️ The `highlight line` and `Show Line Numbers` feature are invalid and require ~~`[email protected]`~~ upgrade.
85+
8486
```jsx mdx:preview
8587
import React from 'react';
8688
import MarkdownPreview from '@uiw/react-markdown-preview';
@@ -116,6 +118,8 @@ export default function Demo() {
116118

117119
syntax: <code>```jsx showLineNumbers {1,4-5}</code>
118120

121+
⚠️ The `highlight line` and `Show Line Numbers` feature are invalid and require ~~`[email protected]`~~ upgrade.
122+
119123
```jsx mdx:preview?background=#fff
120124
import React from 'react';
121125
import MarkdownPreview from '@uiw/react-markdown-preview';
@@ -182,12 +186,12 @@ import React from 'react';
182186
import MarkdownPreview from '@uiw/react-markdown-preview/nohighlight';
183187

184188
const source = `
185-
\`\`\`js showLineNumbers
189+
\`\`\`js
186190
function () {
187191
console.log('hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello')
188192
}
189193
\`\`\`
190-
\`\`\`js showLineNumbers {2}
194+
\`\`\`js
191195
function () {
192196
console.log('hello ')
193197
}

0 commit comments

Comments
 (0)