--ext

The --ext option allows you to assign a format (e.g., .md) to text passed through stdin (which will default to .txt).