From a2a39cb2287a29767fa3bc98d05f01430c668362 Mon Sep 17 00:00:00 2001 From: Elis Eriksson Date: Thu, 26 Mar 2026 19:08:03 +0100 Subject: slight changes, idk how to write proper commit messages hehe --- filters/html-converters/md2html | 282 ---------------------------------------- filters/syntax-highlighting.py | 2 +- 2 files changed, 1 insertion(+), 283 deletions(-) (limited to 'filters') diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index 59f43a8..cbf8902 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html @@ -6,288 +6,6 @@ from pygments.formatters import HtmlFormatter from markdown.extensions.toc import TocExtension sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8') sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8') -sys.stdout.write(''' - -''') sys.stdout.write("
") sys.stdout.flush() # Note: you may want to run this through bleach for sanitization 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) -- cgit v1.3-7-ge9ab