feat: markdown -> html and then display in editor
This commit is contained in:
@@ -19,6 +19,15 @@ export const NvimEditor = (props: { content: string | undefined }) => {
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex w-full justify-center">
|
||||
<div
|
||||
className="plain-html"
|
||||
dangerouslySetInnerHTML={{ __html: props.content ?? "" }}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<table>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user