underline
This commit is contained in:
@ -9,6 +9,7 @@ import "easymde/dist/easymde.min.css";
|
||||
import { LanguageSelector } from "@ui";
|
||||
import { observer } from "mobx-react-lite";
|
||||
import { EVERY_LANGUAGE, Languages, languageStore, META_LANGUAGE } from "@stores";
|
||||
import rehypeRaw from "rehype-raw";
|
||||
|
||||
const MemoizedSimpleMDE = React.memo(MarkdownEditor);
|
||||
|
||||
@ -208,7 +209,7 @@ export const ArticleCreate = observer(() => {
|
||||
},
|
||||
}}
|
||||
>
|
||||
<ReactMarkdown>{preview}</ReactMarkdown>
|
||||
<ReactMarkdown rehypePlugins={[rehypeRaw]}>{preview}</ReactMarkdown>
|
||||
</Box>
|
||||
</Paper>
|
||||
</Box>
|
||||
|
Reference in New Issue
Block a user