summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Picard <cedric.picard@efrei.net>2014-11-28 21:12:30 +0100
committerCédric Picard <cedric.picard@efrei.net>2014-11-28 21:12:30 +0100
commite7712e97cacd601fd04b7bfd0b3084d6107a73b2 (patch)
tree3ab9ef290ef3afcb3c47ce8293fa43456161ce10
parent08705c698b62c5ea8393a7cff6751659fdcf34f9 (diff)
downloadpasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.tar.gz
pasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.tar.bz2
pasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.zip
Added line numbers for code
-rwxr-xr-xpasteme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index b5cd308..75064a8 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -9,7 +9,7 @@ import config
from pathlib import Path
pathbase = Path(config.pastedir)
-pygment_formater = pygments.formatters.HtmlFormatter()
+pygment_formater = pygments.formatters.HtmlFormatter(linenos="table")
if not pathbase.exists():
pathbase.mkdir(mode=0o700, parents=True)