diff --git a/src/EditorView.swift b/src/EditorView.swift index ddc5cb2..b67d738 100644 --- a/src/EditorView.swift +++ b/src/EditorView.swift @@ -1264,9 +1264,8 @@ private func highlightMarkdownLine(_ trimmed: String, line: String, lineRange: N return true } - // Horizontal rule — layout manager draws the line; mute the source text if isHorizontalRule(trimmed) { - textStorage.addAttribute(.foregroundColor, value: palette.surface0, range: lineRange) + textStorage.addAttribute(.foregroundColor, value: palette.base, range: lineRange) return true }