diff options
author | Bryan Brattlof <hello@bryanbrattlof.com> | 2020-12-25 19:33:18 -0500 |
---|---|---|
committer | Bryan Brattlof <hello@bryanbrattlof.com> | 2021-04-07 18:59:28 -0400 |
commit | a903bca96fcfbabc55089a7e80a7da887c931bdb (patch) | |
tree | c69ad449ffba82a68009a991eeedee219b3ef340 | |
parent | 647b40993414fa547f6edbaacd5081793f4a794c (diff) | |
download | cgit-a903bca96fcfbabc55089a7e80a7da887c931bdb.tar.gz cgit-a903bca96fcfbabc55089a7e80a7da887c931bdb.tar.bz2 |
change syntax highlighting to 'algol_nu'
-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..0396332 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='algol_nu', nobackground=True) try: lexer = guess_lexer_for_filename(filename, data) |