Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 3311da7

Browse files
committed
update
Signed-off-by: Innei <[email protected]>
1 parent 8c9a942 commit 3311da7

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

pages/themes/shiro/index.mdx

+14-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ import { ToGitHub } from '@components/ToGitHub'
3535
- 你已注册 [Clerk](https://clerk.com/) 账号
3636

3737
<Callout type="warning">
38-
请注意,Shiro 主题的部署教程与初版有所不同,如果你已经部署过 Shiro 主题,请重新阅读本文档(尤其是填入配置文件环节,配置有所变化),并阅读最后一节[「移除 Edge Config」](#移除-edge-config)
38+
请注意,Shiro 主题的部署教程与初版有所不同,如果你已经部署过 Shiro
39+
主题,请重新阅读本文档(尤其是填入配置文件环节,配置有所变化),并阅读最后一节
40+
[「移除 Edge Config」](#移除-edge-config)
3941
</Callout>
4042

4143
## 安装
@@ -46,12 +48,12 @@ import Video from '@components/Video'
4648
<Steps>
4749

4850
### 克隆仓库
49-
51+
5052
登陆 GitHub 账号,打开 [Innei/Shiro](https://github.com/Innei/Shiro),点击右上角的 Fork 按钮,将仓库克隆到你的账号下。
5153

5254
<Video src="https://pan.vinua.cn/f/73dt6/fork_shiro.mp4" />
5355

54-
### 打开 Vercel 创建项目
56+
### 打开 Vercel 创建项目
5557

5658
登陆 Vercel 账号,点击右上角的 New Project 按钮,选择 Import Git Repository,选择你刚刚 Fork 的仓库,点击 Import 按钮,即可进入到项目配置页面。
5759

@@ -290,3 +292,12 @@ Refer: https://github.com/Innei/Shiro/issues/137
290292
max-height: 50vh;
291293
}
292294
`}</style>
295+
296+
## 扩展的 Markdown 语法
297+
298+
参考 https://shiro.innei.in/#/markdown
299+
300+
** 对于 LinkCard 的解析,某些需要你填写 API Key**
301+
302+
- GitHub,默认直接用浏览器访问,可能受到 rate limit,可以填写 `GH_TOKEN` 以保证 API 可达性。
303+
- TMDB,必须填写 `TMDB_API_KEY` 才可以正确解析 tmdb 的链接。参考 https://post.smzdm.com/p/a5op4w33/

0 commit comments

Comments
 (0)