aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/textstyleinstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderers/textstyleinstance.cpp')
-rw-r--r--src/renderers/textstyleinstance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/renderers/textstyleinstance.cpp b/src/renderers/textstyleinstance.cpp
index e7295b0..6d734f1 100644
--- a/src/renderers/textstyleinstance.cpp
+++ b/src/renderers/textstyleinstance.cpp
@@ -25,4 +25,9 @@ TextStyleInstance::TextStyleInstance(DocumentStyle const & themed_style)
standard_h3.setFont(themed_style.h3_font);
standard_h3.setForeground(QBrush(themed_style.h3_color));
+
+ preformatted_format.setNonBreakableLines(true);
+
+ block_quote_format.setIndent(1);
+ block_quote_format.setBackground(themed_style.blockquote_color);
}