Add prism

* add atom code theme
* change nextjs config to mjs
* add remark and rehype plugins
This commit is contained in:
Defectink
2022-03-23 16:02:39 +08:00
parent 5b55b84818
commit 332cc905df
11 changed files with 2579 additions and 42 deletions

View File

@ -22,7 +22,9 @@ const PostCard: FC<Props> = ({ post }) => {
)}
>
<div>
<h2 className="mb-4 text-3xl font-Barlow">{post.title}</h2>
<h2 className="mb-4 text-3xl font-semibold font-Barlow">
{post.title}
</h2>
<div className="flex items-center text-sm">
{post.tags.map((tag) => (