pyhtmlizer(1)

πŸ“¦ version 24.10.0, in opensuse-leap 16.0

πŸ’– pyhtmlizer(1) πŸ’–

okay bestie, pull up a chair, because we're about to talk about pyhtmlizer β€” yes she's a real one, she lives in section 1 of the manual, and she has exactly one job. πŸŽ€


✨ NAME ✨

pyhtmlizer β€” pretty-print Python source as HTML πŸ¦‹

like. she takes your Python and makes it look cute on the internet. that's it. that's the whole thing.


🌸 SYNTAX 🌸

pyhtmlizer [-s|--stylesheet <url>] <filename>

one command, one file, one optional stylesheet, zero drama. πŸ’…


🌈 DESCRIPTION 🌈

so here's the vibe: this generates a HTML document with Python source marked up with span elements. that's the actual output β€” spans, bestie. the structure is there, the colors are not. πŸ™ˆ

and to colorize? you gotta provide a stylesheet. no stylesheet, no glam. it's giving plain-text-in-a-trench-coat. 😭

fr fr β€” pyhtmlizer marks it up, but it does not style it. the ✨lewk✨ is on you.

πŸ‘‘ OPTIONS πŸ‘‘

  • --stylesheet, -s <url> β€” links to the stylesheet at <url>. this is the one that makes it pretty. give her a url, she'll link it in. πŸ’–
  • --help β€” output help information and exit. the classic "wait what does this do again" button. 🫢
  • -v, --version β€” output version information and exit. she'll tell you exactly which era of herself you're running. ⭐

lowkey the shortest manpage in the game and honestly? iconic. no filler, no fluff, just vibes and spans. 🧚

that's the whole page, bestie β€” go forth and colorize. πŸ’œ

this little cutie comes to you courtesy of the lovely people at Twisted Matrix Laboratories. mwah, sending you the softest sign-off. πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from