我是如何搭建这个博客的

May-26, 2024 · 3min

信息

组件

图片

可以直接在相对路径下引入图片,使用 remark-static-image 插件,自动导入图片,具体可以查看 Next.js 中使用 MDX 静态图片 (opens in a new tab)

GitHub Alert

md
> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]  
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]  
> Negative potential consequences of an action.

Note

Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.

Important

Crucial information necessary for users to succeed.

Warning

Critical content demanding immediate user attention due to potential risks.

Caution

Negative potential consequences of an action.

PWA

添加 OG 图片

Changelog

升级 tailwindcss v4

#19 (opens in a new tab)

添加 OG 图片

#14 (opens in a new tab)

添加 GitHub Alert

c9cb826 (opens in a new tab)

添加 NProgress

#12 (opens in a new tab)

refactor use mdx

#11 (opens in a new tab)