Markdown: Use different background color for code

Sets the background color for code blocks and for inline code (actually
for any fixed font text).

Change-Id: I1365111b38314a8e0a129aca35d754ad3f2f13bb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2023-07-31 12:14:14 +02:00
parent 9680b8434e
commit 197d80f99b
2 changed files with 30 additions and 2 deletions

View File

@@ -130,7 +130,10 @@ public:
void highlightBlock(const QString &text);
private:
QBrush codeBgBrush();
QBrush h2Brush;
QBrush m_codeBgBrush;
};
} // namespace Utils