aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimon Wong <timon86.wang@gmail.com>2013-03-15 13:42:20 +0800
committerTimon Wong <timon86.wang@gmail.com>2013-03-15 13:42:20 +0800
commit1f38dee4e228a0b990418e0c44efb6d182c22928 (patch)
treea7c73ef8ca8a431ebfd5b2dca09a11ee57f2fb86
parent2a12aecf4b120ca5ec6a9fb1f4efffc70ae0df1f (diff)
downloadmarkdown-1f38dee4e228a0b990418e0c44efb6d182c22928.tar.gz
markdown-1f38dee4e228a0b990418e0c44efb6d182c22928.tar.bz2
markdown-1f38dee4e228a0b990418e0c44efb6d182c22928.zip
Update fenced_code.py
CodeHilite: linenos is replaced by linenums
-rw-r--r--markdown/extensions/fenced_code.py2
1 files changed, 1 insertions, 1 deletions
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],