From e7712e97cacd601fd04b7bfd0b3084d6107a73b2 Mon Sep 17 00:00:00 2001 From: Cédric Picard Date: Fri, 28 Nov 2014 21:12:30 +0100 Subject: Added line numbers for code --- pasteme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3