.TH MARKDOWN_PY 1 .SH NAME markdown_py \- a Python implementation of John Gruber's Markdown. .SH SYNOPSIS .B markdown_py [\fIoptions\fR] [\fIINPUT_FILE\fR] .RS 0 (STDIN is assumed if no INPUT_FILE is given) .SH DESCRIPTION Command-line Markdown compiler based on python\-markdown module, with extensions support. \fBDeprecated!\fR Use \fBpython3 \-m markdown\fR instead, which accepts the same options. .SH OPTIONS .TP \fB\-\-version\fR Show program's version number and exit. .TP \fB\-h\fR, \fB\-\-help\fR Show the help message and exit. .TP \fB\-f \fIOUTPUT_FILE\fR, \fB\-\-file=\fIOUTPUT_FILE\fR Write output to OUTPUT_FILE. Defaults to STDOUT. .TP \fB\-e \fIENCODING\fR, \fB\-\-encoding=\fIENCODING\fR Encoding for input and output files. .TP \fB\-o \fIOUTPUT_FORMAT\fR, \fB\-\-output_format=\fIOUTPUT_FORMAT\fR Use output format 'xhtml' (default) or 'html'. .TP \fB\-n\fR, \fB\-\-no_lazy_ol\fR Observe number of first item of ordered lists. .TP \fB\-x \fIEXTENSION\fR, \fB\-\-extension=\fIEXTENSION\fR Load extension EXTENSION. .TP \fB\-c \fICONFIG_FILE\fR, \fB\-\-extension_configs=\fICONFIG_FILE\fR Read extension configurations from CONFIG_FILE. CONFIG_FILE must be of JSON or YAML format. YAML format requires python3-yaml package to be installed. The parsed JSON or YAML must result in a Python dictionary which would be accepted by the 'extension_configs' keyword on the markdown.Markdown class. The extensions must also be loaded with the \-\-extension option. .TP \fB\-q\fR, \fB\-\-quiet\fR Suppress all warnings. .TP \fB\-v\fR, \fB\-\-verbose\fR Print all warnings. .TP \fB\-\-noisy\fR Print debug messages.