v3.35:修复 RSS 正文排版丢失(段落/列表/引用/表格/硬换行)
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user