Skip to content

CLIΒΆ

Convert a file without writing any Python:

uvx pyromark README.md --enable-tables --highlight inspired-github -o out.html
pip install -U pyromark
pyromark README.md --enable-tables --highlight inspired-github -o out.html
  • - instead of a file reads stdin; without -o the HTML goes to stdout.
  • Input and output are always UTF-8.
  • python -m pyromark works too.

Each Options flag has a matching --enable-* switch, and --highlight takes a Theme in kebab case. pyromark --help lists them all.