This commit is contained in:
sijinhui
2024-08-18 20:44:47 +08:00
parent 9c68cea749
commit 0d363e8aa2
3 changed files with 7 additions and 7 deletions

View File

@@ -250,8 +250,8 @@ function _MarkDownContent(props: { content: string }) {
],
]}
components={{
pre: PreCode,
code: CustomCode,
pre: PreCode as any,
code: CustomCode as any,
p: (pProps) => <p {...pProps} dir="auto" />,
a: (aProps) => {
const href = aProps.href || "";