aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Morgenstern <mail@mmorgenstern.net>2016-04-11 11:32:02 +0200
committerMartin Morgenstern <mail@mmorgenstern.net>2016-04-11 11:41:48 +0200
commitdd669e3cb83960932e12b6942ed1f803f2b57586 (patch)
tree8d1b77a2c565bc2eb9bdd863fed369fb24e5d2d0
parentc5cd162cb6a071b9a6ef679571a5b1d80d46fde9 (diff)
downloadmarkdown-dd669e3cb83960932e12b6942ed1f803f2b57586.tar.gz
markdown-dd669e3cb83960932e12b6942ed1f803f2b57586.tar.bz2
markdown-dd669e3cb83960932e12b6942ed1f803f2b57586.zip
Support CodeHilite option use_pygments in fenced_code
-rw-r--r--markdown/extensions/fenced_code.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py
index 4af8891..8c9935e 100644
--- a/markdown/extensions/fenced_code.py
+++ b/markdown/extensions/fenced_code.py
@@ -81,6 +81,7 @@ class FencedBlockPreprocessor(Preprocessor):
guess_lang=self.codehilite_conf['guess_lang'][0],
css_class=self.codehilite_conf['css_class'][0],
style=self.codehilite_conf['pygments_style'][0],
+ use_pygments=self.codehilite_conf['use_pygments'][0],
lang=(m.group('lang') or None),
noclasses=self.codehilite_conf['noclasses'][0],
hl_lines=parse_hl_lines(m.group('hl_lines'))