27
Content-Disposition: inline; filename="
1ff7
Last-Modified: Wed, 29 Jul 2026 23:42:43 GMT
Expires: Sat, 26 Jul 2036 23:42:43 GMT
ETag: "ebf3856a3978ed4385b61262650e3b6f6f1ca414"
#!/usr/bin/env python3
import markdown
import sys
import io
from pygments.formatters import HtmlFormatter
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
markdown.markdownFromFile(output_format="html5", extensions=["markdown.extensions.fenced_code", "markdown.extensions.codehilite", "markdown.extensions.tables"], extension_configs={"markdown.extensions.codehilite":{"css_class":"highlight"}})
sys
0
HTTP/1.0 500 Internal Server Error
Date: Wed, 29 Jul 2026 23:42:44 GMT
Server: OpenBSD httpd
Connection: close
Content-Type: text/html
Content-Length: 518
500 Internal Server Error
500 Internal Server Error
OpenBSD httpd