OS Manuals

/usr/share/sentry/venv/bin/mistune

Developer-first error tracking and performance monitoring platform

From sentry 26.10.1-r6 (enterprise-packages), captured 2026-11-08 by running mistune --help (exit 0). permalink

usage: python -m mistune [-h] [-m MESSAGE] [-f FILE] [-p NAME [NAME ...]] [--escape] [--hardwrap]
                         [-o OUTPUT] [-r RENDERER] [--version]

Mistune, a sane and fast python markdown parser.

Here are some use cases of the command line tool:

    $ python -m mistune -m "Hi **Markdown**"
    <p>Hi <strong>Markdown</strong></p>

    $ python -m mistune -f README.md
    <p>...

    $ cat README.md | python -m mistune
    <p>...

options:
  -h, --help            show this help message and exit
  -m, --message MESSAGE
                        the markdown message to convert
  -f, --file FILE       the markdown file to convert
  -p, --plugin NAME [NAME ...]
                        specifiy a plugin to use
  --escape              turn on escape option
  --hardwrap            turn on hardwrap option
  -o, --output OUTPUT   write the rendered result into file
  -r, --renderer RENDERER
                        specify the output renderer
  --version             show program's version number and exit
Options (8)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-m, --message MESSAGEthe markdown message to converthelp
-f, --file FILEthe markdown file to converthelp
--escapeturn on escape optionhelp
--hardwrapturn on hardwrap optionhelp
-o, --output OUTPUTwrite the rendered result into filehelp
-r, --renderer RENDERERspecify the output rendererhelp
--versionshow program's version number and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.