mirror of
https://github.com/usememos/memos.git
synced 2025-10-16 17:26:11 +08:00
chore: fix renderer (#917)
This commit is contained in:
parent
0f057e81e9
commit
771c56f485
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue