Skip to content

Commit

Permalink
Merge pull request #4 from kiddick/master
Browse files Browse the repository at this point in the history
Fix missing background color.
  • Loading branch information
nixjdm authored Oct 12, 2017
2 parents 96ec957 + 9b5967c commit 712a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lektor_markdown_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MarkdownHighlighterPlugin(Plugin):
description = 'Adds syntax highlighting for markdown blocks.'

def get_formatter(self):
return HtmlFormatter(style=self.get_style())
return HtmlFormatter(style=self.get_style(), cssclass="hll")

def get_style(self):
return self.get_config().get('pygments.style', 'default')
Expand Down

0 comments on commit 712a142

Please sign in to comment.