File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ export default function Demo() {
81
81
82
82
syntax: <code >```jsx {1,4-5}</code >
83
83
84
+ ⚠️ The
` highlight line ` and
` Show Line Numbers ` feature are invalid and require
~~ ` [email protected] ` ~~ upgrade.
85
+
84
86
``` jsx mdx:preview
85
87
import React from ' react' ;
86
88
import MarkdownPreview from ' @uiw/react-markdown-preview' ;
@@ -116,6 +118,8 @@ export default function Demo() {
116
118
117
119
syntax: <code >```jsx showLineNumbers {1,4-5}</code >
118
120
121
+ ⚠️ The
` highlight line ` and
` Show Line Numbers ` feature are invalid and require
~~ ` [email protected] ` ~~ upgrade.
122
+
119
123
``` jsx mdx:preview?background=#fff
120
124
import React from ' react' ;
121
125
import MarkdownPreview from ' @uiw/react-markdown-preview' ;
@@ -182,12 +186,12 @@ import React from 'react';
182
186
import MarkdownPreview from ' @uiw/react-markdown-preview/nohighlight' ;
183
187
184
188
const source = `
185
- \`\`\` js showLineNumbers
189
+ \`\`\` js
186
190
function () {
187
191
console.log('hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello')
188
192
}
189
193
\`\`\`
190
- \`\`\` js showLineNumbers {2}
194
+ \`\`\` js
191
195
function () {
192
196
console.log('hello ')
193
197
}
You can’t perform that action at this time.
0 commit comments