DOKK / manpages / debian 10 / python-markdown / markdown_py.1.en
MARKDOWN_PY(1) General Commands Manual MARKDOWN_PY(1)

markdown_py - a Python implementation of John Gruber's Markdown.

markdown_py [options] [INPUT_FILE]

(STDIN is assumed if no INPUT_FILE is given)

Command-line Markdown compiler based on python-markdown module, with extensions support.

Show program's version number and exit.
Show the help message and exit.
Write output to OUTPUT_FILE. Defaults to STDOUT.
Encoding for input and output files.
Deprecated! ´replace´, ´remove´ or ´escape´ HTML tags in input.
´xhtml1´ (default), ´html4´ or ´html5´.
Observe number of first item of ordered lists.
Load extension EXTENSION.
Read extension configurations from CONFIG_FILE. CONFIG_FILE must be of JSON or YAML format. YAML format requires python-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.
Suppress all warnings.
Print all warnings.
Print debug messages.