Skip to content
Permalink
Browse files

fix italic

  • Loading branch information...
sandsmark committed Mar 10, 2019
1 parent d27e173 commit f098ae139e18e31f8165a741b6db6ae2fd247dae
Showing with 1 addition and 0 deletions.
  1. +1 −0 markdownhighlighter.cpp
@@ -340,6 +340,7 @@ void MarkdownHighlighter::initTextFormats(int defaultFontSize) {
// set character format for italic
format = QTextCharFormat();
format.setFontWeight(QFont::StyleItalic);
format.setFontItalic(true);
format.setForeground(QBrush(QColor(0, 87, 174)));
_formats[Italic] = format;

0 comments on commit f098ae1

Please sign in to comment.
You can’t perform that action at this time.