aboutsummaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 08:04:30 +0000
committerYigit Sever2021-10-29 11:15:04 +0300
commitb00972235a9e2250610bb6f861a6e88d30d5a126 (patch)
tree8c8a0f8dbc769f83fbd878a133bc721f51c14066 /filters
parent5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff)
downloadcgit-b00972235a9e2250610bb6f861a6e88d30d5a126.tar.gz
cgit-b00972235a9e2250610bb6f861a6e88d30d5a126.tar.bz2
cgit-b00972235a9e2250610bb6f861a6e88d30d5a126.zip
Initial customizations
favicon, cgit.png and installation path
Diffstat (limited to 'filters')
-rwxr-xr-xfilters/syntax-highlighting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/syntax-highlighting.py b/filters/syntax-highlighting.py
index e912594..b877644 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
34sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') 34sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
35data = sys.stdin.read() 35data = sys.stdin.read()
36filename = sys.argv[1] 36filename = sys.argv[1]
37formatter = HtmlFormatter(style='pastie', nobackground=True) 37formatter = HtmlFormatter(style='stata-light', nobackground=True)
38 38
39try: 39try:
40 lexer = guess_lexer_for_filename(filename, data) 40 lexer = guess_lexer_for_filename(filename, data)