v3.35:修复 RSS 正文排版丢失(段落/列表/引用/表格/硬换行)

This commit is contained in:
XIGE
2026-11-26 18:56:40 +08:00
parent 1373fc014b
commit 7aa5bae17c
3 changed files with 209 additions and 39 deletions

View File

@@ -34,5 +34,10 @@ class MdThemePlugin(private val context: Context) : AbstractMarkwonPlugin() {
.thematicBreakColor(ContextCompat.getColor(context, R.color.divider))
.thematicBreakHeight((1 * d).toInt())
.linkColor(ContextCompat.getColor(context, R.color.brand))
// 块级间距:标题、列表、代码块、引用与段落之间留白,
// 默认几乎贴在一起,长文读起来像一块砖
.blockMargin((10 * d).toInt())
// 列表标记与文字的缩进,避免 "-" 贴着正文左边缘
.bulletWidth((16 * d).toInt())
}
}