disable line numbering in pygments

This commit is contained in:
Matthew Connelly 2015-04-18 18:13:10 +01:00
parent 65cb180296
commit ec4b723e68
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ from pygments.lexers import guess_lexer, get_lexer_by_name
from pygments.formatters import HtmlFormatter
def py_highlight(c,l):
return highlight(c,l,HtmlFormatter(linenos=True,anchorlinenos=True,lineanchors="L",linenospecial=10,linespans="L",encoding="utf-8"))
return highlight(c,l,HtmlFormatter(anchorlinenos=True,lineanchors="L",linespans="L",encoding="utf-8"))
def py_guesslexer(c):
return guess_lexer(c,encoding="utf-8")