diff options
Diffstat (limited to 'filters')
-rwxr-xr-x | filters/syntax-highlighting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/syntax-highlighting.py b/filters/syntax-highlighting.py index 5888b50..e912594 100755 --- a/filters/syntax-highlighting.py +++ b/filters/syntax-highlighting.py | |||
@@ -34,7 +34,7 @@ sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8', errors='replace | |||
34 | sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') | 34 | sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') |
35 | data = sys.stdin.read() | 35 | data = sys.stdin.read() |
36 | filename = sys.argv[1] | 36 | filename = sys.argv[1] |
37 | formatter = HtmlFormatter(style='pastie') | 37 | formatter = HtmlFormatter(style='pastie', nobackground=True) |
38 | 38 | ||
39 | try: | 39 | try: |
40 | lexer = guess_lexer_for_filename(filename, data) | 40 | lexer = guess_lexer_for_filename(filename, data) |