HN displays code just fine if you put four spaces in front of each line, like this:
#!/usr/bin/env -S uv run
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "google-api-python-client",
# "google-auth-httplib2",
# "google-auth-oauthlib",
# "selenium",
# "webdriver_manager",
# "pydantic",
# ]
# ///
import argparse
import datetime
I built a tool to help me do that: https://observablehq.com/@simonw/wrap-text-at-specified-widt...Edit: Huh, two spaces works too:
#!/usr/bin/env -S uv run
# /// script
# requires-python = ">=3.12"