博客文章添加a标签样式
This commit is contained in:
@@ -69,6 +69,7 @@ export default function Blog() {
|
|||||||
table: ({ node, ...props }) => <div className="overflow-x-auto"><table {...props} /></div>,
|
table: ({ node, ...props }) => <div className="overflow-x-auto"><table {...props} /></div>,
|
||||||
pre: ({ node, ...props }) => <pre className="rounded-sm overflow-hidden shadow" {...props} />,
|
pre: ({ node, ...props }) => <pre className="rounded-sm overflow-hidden shadow" {...props} />,
|
||||||
blockquote: ({ node, ...props }) => <blockquote className="pl-3 border-l-5" {...props} />,
|
blockquote: ({ node, ...props }) => <blockquote className="pl-3 border-l-5" {...props} />,
|
||||||
|
a: ({ node, ...props }) => <a className="hover:underline" {...props} />,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user