补充 Artalk 和博客文章页
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-05 20:34:57 +08:00
parent 29b3c89c40
commit 5e53a213e6
8 changed files with 162 additions and 11 deletions

View File

@ -28,7 +28,7 @@ export const MarkdocTreeRender: React.FC<{
tree: RenderableTreeNode
}> = ({ tree }) => {
return (
<div className="markdoc-container">
<div className="markdoc-container prose">
{Markdoc.renderers.react(tree, React, { components: { CodeBlock } })}
</div>
)