mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix renderer (#917)
This commit is contained in:
@ -14,7 +14,7 @@ const renderer = (rawStr: string) => {
|
|||||||
const parsedContent = marked(matchResult[1], [], [Link, PlainText]);
|
const parsedContent = marked(matchResult[1], [], [Link, PlainText]);
|
||||||
return (
|
return (
|
||||||
<strong>
|
<strong>
|
||||||
<em>${parsedContent}</em>
|
<em>{parsedContent}</em>
|
||||||
</strong>
|
</strong>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,7 @@ const renderer = (rawStr: string) => {
|
|||||||
return (
|
return (
|
||||||
<p className="li-container">
|
<p className="li-container">
|
||||||
<span className="ul-block">•</span>
|
<span className="ul-block">•</span>
|
||||||
<span>${parsedContent}</span>
|
<span>{parsedContent}</span>
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user