From 1f38dee4e228a0b990418e0c44efb6d182c22928 Mon Sep 17 00:00:00 2001 From: Timon Wong Date: Fri, 15 Mar 2013 13:42:20 +0800 Subject: Update fenced_code.py CodeHilite: linenos is replaced by linenums --- markdown/extensions/fenced_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py index 91c59ee..9ec300b 100644 --- a/markdown/extensions/fenced_code.py +++ b/markdown/extensions/fenced_code.py @@ -131,7 +131,7 @@ class FencedBlockPreprocessor(Preprocessor): # is enabled, so we call it to highlite the code if self.codehilite_conf: highliter = CodeHilite(m.group('code'), - linenos=self.codehilite_conf['force_linenos'][0], + linenums=self.codehilite_conf['linenums'][0], guess_lang=self.codehilite_conf['guess_lang'][0], css_class=self.codehilite_conf['css_class'][0], style=self.codehilite_conf['pygments_style'][0], -- cgit v1.2.1