summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils.py4
1 files changed, 3 insertions, 1 deletions
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)