Browse Source

reverted markdown pygment style to default

Bachir Soussi Chiadmi 7 years ago
parent
commit
547be1b03e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      libriis/classes/highlighter.py

+ 3 - 3
libriis/classes/highlighter.py

@@ -82,15 +82,15 @@ class Highlighter(QSyntaxHighlighter):
    def __init__(self, parent, mode):
       QSyntaxHighlighter.__init__(self, parent)
 
-      # styles = list(get_all_styles())
-      # print(styles)
+      styles = list(get_all_styles())
+      print(styles)
 
       # Keep the formatter and lexer, initializing them
       # may be costly.
       if not mode == "md":
          self.formatter=QFormatter(linenos=True, style="monokai")
       else:
-         self.formatter=QFormatter(linenos=False, style="github")
+         self.formatter=QFormatter(linenos=False, style="default")
 
       self.lexer=get_lexer_by_name(mode)