Site navigation

Build a small tool

Use clear steps and small functions when writing a reliable tool.

Readable output is part of a useful command-line interface.

Install and run

  1. Install the package.
  2. Run the command with:
    • A local file
    • Piped HTML

The inline example is page-to-markdown input.html.

def greet(name):
    return f"Hello, {name}"