配置模板截图视口参数并输出生效值日志
This commit is contained in:
@@ -18,3 +18,11 @@ image_format = "png"
|
||||
summary_image_mode = "template"
|
||||
# 总结卡片模板路径(相对项目根目录)
|
||||
summary_image_template_path = "plugins/message_summary/templates/gemini_summary_card.html"
|
||||
# 模板模式截图视口配置(仅 template 模式生效)
|
||||
# 说明:
|
||||
# 1. 这里可以覆盖 md2image 默认 780 宽;
|
||||
# 2. 模板卡片宽度约 420,截图建议 460~520 区间;
|
||||
# 3. scale 提高后字体与线条会更清晰。
|
||||
template_viewport_width = 500
|
||||
template_viewport_height = 960
|
||||
template_device_scale_factor = 2.0
|
||||
|
||||
Reference in New Issue
Block a user