diff options
author | Cédric Picard <cedric.picard@efrei.net> | 2014-11-28 21:12:30 +0100 |
---|---|---|
committer | Cédric Picard <cedric.picard@efrei.net> | 2014-11-28 21:12:30 +0100 |
commit | e7712e97cacd601fd04b7bfd0b3084d6107a73b2 (patch) | |
tree | 3ab9ef290ef3afcb3c47ce8293fa43456161ce10 | |
parent | 08705c698b62c5ea8393a7cff6751659fdcf34f9 (diff) | |
download | pasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.tar.gz pasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.tar.bz2 pasteme-e7712e97cacd601fd04b7bfd0b3084d6107a73b2.zip |
Added line numbers for code
-rwxr-xr-x | pasteme.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |