md — render Markdown as colored ANSI for the terminal, or convert to HTML RENDER (pipe a markdown file in, get colored output back): cat README.md | curl --data-binary @- https://fleet-md.0exec.com cat README.md | curl --data-binary @- 'https://fleet-md.0exec.com?to=ansi' # default — terminal colors cat README.md | curl --data-binary @- 'https://fleet-md.0exec.com?to=ansi&width=80' # wrap at 80 cols cat README.md | curl --data-binary @- 'https://fleet-md.0exec.com?to=html' # sanitized HTML cat README.md | curl --data-binary @- 'https://fleet-md.0exec.com?to=plain' # strip to plain text EXAMPLES: echo '# Hi\n\nsome **bold** text' | curl --data-binary @- https://fleet-md.0exec.com git log -1 --format='%B' | curl --data-binary @- https://fleet-md.0exec.com # render a commit message curl -s https://raw.githubusercontent.com/you/repo/main/README.md \ | curl --data-binary @- https://fleet-md.0exec.com # read any README in your terminal Notes: * --data-binary @- streams stdin verbatim; plain -d would mangle newlines. * ?to=ansi (default) emits ANSI color escapes — pipe straight to your terminal. * ?to=html runs goldmark + bluemonday UGCPolicy; the HTML is sanitized, safe to embed. * Max body 1 MiB. Empty body is a 400. * zsh "no matches found"? Quote any URL with a ? e.g. 'https://fleet-md.0exec.com/?to=html'.