fix: edit function of markdown
This commit is contained in:
@@ -8,7 +8,7 @@ import { okaidia } from "react-syntax-highlighter/dist/esm/styles/prism";
|
||||
import "katex/dist/katex.min.css";
|
||||
import "./MarkdownView.css";
|
||||
|
||||
const MarkdownPreview = ({ content, height="auto" }) => {
|
||||
const MarkdownView = ({ content, height="auto" }) => {
|
||||
return (
|
||||
<div className="markdown-preview" style={{height}}>
|
||||
<ReactMarkdown
|
||||
@@ -39,4 +39,4 @@ const MarkdownPreview = ({ content, height="auto" }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default MarkdownPreview;
|
||||
export default MarkdownView;
|
||||
Reference in New Issue
Block a user