diff --git a/core/README.md b/core/README.md index 1838e4b2..371f94c5 100644 --- a/core/README.md +++ b/core/README.md @@ -81,6 +81,8 @@ export default function Demo() { syntax: ```jsx {1,4-5} +⚠️ The `highlight line` and `Show Line Numbers` feature are invalid and require ~~`rehype-prism-plus@1.6.3`~~ upgrade. + ```jsx mdx:preview import React from 'react'; import MarkdownPreview from '@uiw/react-markdown-preview'; @@ -116,6 +118,8 @@ export default function Demo() { syntax: ```jsx showLineNumbers {1,4-5} +⚠️ The `highlight line` and `Show Line Numbers` feature are invalid and require ~~`rehype-prism-plus@1.6.3`~~ upgrade. + ```jsx mdx:preview?background=#fff import React from 'react'; import MarkdownPreview from '@uiw/react-markdown-preview'; @@ -182,12 +186,12 @@ import React from 'react'; import MarkdownPreview from '@uiw/react-markdown-preview/nohighlight'; const source = ` -\`\`\`js showLineNumbers +\`\`\`js function () { console.log('hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello') } \`\`\` -\`\`\`js showLineNumbers {2} +\`\`\`js function () { console.log('hello ') }