-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Why do I see highlighted code in the editor, while the code in the preview is plain?
Code
import "@uiw/react-markdown-editor/markdown-editor.css";
import "@uiw/react-markdown-preview/markdown.css";
[...]
<MarkdownEditor
value={value}
onChange={(value, viewUpdate) => {
setValue(value);
}}
renderPreview={() => (
<MarkdownEditor.Markdown
source={value}
/>
)}
/>
Metadata
Metadata
Assignees
Labels
No labels