-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from mxlt02/main
Feat: Config sample in Chinese Simplified
- Loading branch information
Showing
3 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# branch = "master" | ||
|
||
# 您的拥有"repo"权限的Github令牌 | ||
# 获取Github Token连接: https://github.com/settings/tokens | ||
pat = "ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
|
||
# 上传文件名的格式模板 | ||
# {year} 年份, 例如: 2022 | ||
# / 目录分隔符, 作用: 是区分目录 | ||
# {month} 月份, 例如: 2 | ||
# {day} 天, 例如: 1 | ||
# {unix_ts} 时间戳, 例如: 1643617626 | ||
# {ext} 文件后缀名, 例如.png | ||
# 下面的例子生成的文件名预览: 2022/01/upgit_20220131_1643617626.png | ||
rename = "{year}/{month}/upgit_{year}{month}{day}_{unix_ts}{ext}" | ||
|
||
# 您的公共Github存储库的名称 | ||
# 注意: 因为我们使用了 "raw.githubusercontent.com", 所有Github仓库一定要是公开的. | ||
repo = "repo-name" | ||
|
||
# 请输入您的Gtihub用户名 | ||
username = "username" | ||
|
||
# 如果您的网络访问Github异常或者缓慢,您可以尝试下面的配置以开启CDN加速 | ||
# [replacements] | ||
# "raw.githubusercontent.com" = "cdn.jsdelivr.net/gh" | ||
# "/master" = "@master" | ||
|
||
# 自定义输出格式 | ||
# {url} 图片文件的网络URL地址 | ||
[output-formats] | ||
"bbcode" = "[img]{url}[/img]" | ||
"html" = '<img src="{url}" />' | ||
"markdown-simple" = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters