aboutsummaryrefslogtreecommitdiff
path: root/src/renderers/textstyleinstance.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-23 10:28:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-23 10:28:04 +0200
commit694c1f6d276d0a4ea3422a02db0f6cf96313b733 (patch)
treee8d9c99a06c4584bcb011f6aa55858e3f054ea7a /src/renderers/textstyleinstance.hpp
parent0860a8ec32fd01b6fdea92e1e6a80de096e2e694 (diff)
downloadkristall-694c1f6d276d0a4ea3422a02db0f6cf96313b733.tar.gz
Further improves markdown rendering.
Diffstat (limited to 'src/renderers/textstyleinstance.hpp')
-rw-r--r--src/renderers/textstyleinstance.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/renderers/textstyleinstance.hpp b/src/renderers/textstyleinstance.hpp
index 9a1b4bb..eb8b513 100644
--- a/src/renderers/textstyleinstance.hpp
+++ b/src/renderers/textstyleinstance.hpp
@@ -2,6 +2,7 @@
#define TEXTSTYLEINSTANCE_HPP
#include <QTextCharFormat>
+#include <QTextBlockFormat>
#include "documentstyle.hpp"
@@ -16,6 +17,10 @@ struct TextStyleInstance
QTextCharFormat standard_h2;
QTextCharFormat standard_h3;
+ QTextBlockFormat standard_format;
+ QTextBlockFormat preformatted_format;
+ QTextBlockFormat block_quote_format;
+
explicit TextStyleInstance(DocumentStyle const & style);
};