diff options
| author | Elis Eriksson <spelis.tech@gmail.com> | 2026-03-26 19:08:03 +0100 |
|---|---|---|
| committer | Elis Eriksson <spelis.tech@gmail.com> | 2026-03-26 19:08:03 +0100 |
| commit | a2a39cb2287a29767fa3bc98d05f01430c668362 (patch) | |
| tree | 5428225706ae55714227f330e4f8503a96d9cee2 /filters/syntax-highlighting.py | |
| parent | 0d8e5fbc31e1082063bfb5155c35b7869721152b (diff) | |
| download | cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.gz cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.bz2 cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.lz cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.xz cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.tar.zst cgit-a2a39cb2287a29767fa3bc98d05f01430c668362.zip | |
slight changes, idk how to write proper commit messages hehe
Diffstat (limited to 'filters/syntax-highlighting.py')
| -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 e912594..3f608ad 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 sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace') data = sys.stdin.read() filename = sys.argv[1] -formatter = HtmlFormatter(style='pastie', nobackground=True) +formatter = HtmlFormatter(style='monokai', nobackground=True) try: lexer = guess_lexer_for_filename(filename, data) |
