diff --git a/utils.py b/utils.py index 51141e4..46407bd 100644 --- a/utils.py +++ b/utils.py @@ -89,7 +89,9 @@ def colorize_blob(fname, s): formatter = HtmlFormatter(encoding = 'utf-8', cssclass = 'source_code', - linenos = 'table') + linenos = 'table', + anchorlinenos = True, + lineanchors = 'line') return highlight(s, lexer, formatter)