-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
62 lines (44 loc) · 1.31 KB
/
settings.py
File metadata and controls
62 lines (44 loc) · 1.31 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- coding UTF-8 -*-
# python 3.11
# Author: leitaosha
# Email: 473153250@qq.com
# CreateTime: 2024/4/20
# Your account of WordPress REST API.
# 你的wordpress账户
USERNAME = ''
PASSWORD = ''
WORDPRESS_SITE = ''
# Post Default Options
# 推送默认设置
WP_OPTIONS = {
# article status in wordpress : draft(suggest), publish(suggest), private, future, pending
# 文章发布状态
'status': 'publish',
# article comment status in WordPress : open, closed
# 文章的是否可以评论
'comment_status': 'open',
# Whether to pin this article to the top
# 置顶文章
'sticky': 'false',
# 是否可以ping(建议不做更改)
'ping_status': 'closed',
# 文章形式
'format': 'standard',
}
# Markdown process.
# Markdown 处理
# Whether to handle text highlighting in Obsidian
# 是否处理Obsidian中的文本高亮
Enable_HIGHLIGHT = True
# MathJax
Enable_MathJax = False
Enable_MathJax_Preview = False
# pandoc ~下标sub~ ^上标sup^
Enable_SUB_SUP = False
# enable details
Enable_HTML_DETAILS = True
# In development
# CONVERT_ATTACHMENTS = True
# Thread Pool,When you have a lot of local images or labels, you can modify this value appropriately.
# 线程池,当你有较多的本地图片或标签时,可适当修改该值
THREAD_POOL_MAX_WORKER = 8