fix mermaid processing error in code blocks (#1144)
This commit is contained in:
parent
f09be3f286
commit
7315ced92f
1 changed files with 7 additions and 0 deletions
|
|
@ -13,6 +13,13 @@ export const Response = memo(
|
|||
'size-full [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
|
||||
className,
|
||||
)}
|
||||
components={{
|
||||
code: ({ children, className, ...props }) => (
|
||||
<code className={className} {...props}>
|
||||
{children}
|
||||
</code>
|
||||
),
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue