1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
.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.
|