-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathconfig.json
43 lines (39 loc) · 1.35 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* 本部分json注释在导入时将自动进行过滤处理
自定义基本参数:
main_size: 正文主字号
main_margin: 内容两侧留白比例
line_height: 正文行高
para_spacing: 正文段间距
title_align: 标题水平对齐方式,建议left或center(仅支持h3-h6,h1、h2固定使用左对齐)
text_color: 正文文字颜色
theme_color: 主题色,用于标题、强调元素等文字颜色
quote_color: 引用框和代码框内文字颜色
banner_url: 文章头部引导关注图片的url,如"http://placeholder.qiniudn.com/900x100"
poster_url: 文章底部图片的url,通常是二维码或宣传海报,如"http://placeholder.qiniudn.com/900x600"
auto_archive: 是否自动存档(转换后将原始`.md`文件移动至`result/archive`目录下)
auto_rename: 如何处理冲突的文件名,true - 自动重命名;false - 覆盖先前的文件
*/
{
"main_size": "16px",
"main_margin": "3%",
"line_height": "1.8em",
"para_spacing": "1.5em",
"text_color": "#555",
"theme_color": "#349971",
"quote_color": "#999",
"align": {
"h1": "left",
"h2": "left",
"h3": "center",
"h4": "center",
"h5": "center",
"h6": "center",
"content": "left"
},
"banner_url": "",
"poster_url": "",
"convert_list": true,
"ul_style": "○",
"auto_archive": true,
"auto_rename": false
}