markdown_it.cli.parse module
markdown_it.cli.parse module#
CLI interface to markdown-it-py
Parse one or more markdown files, convert each to HTML, and print to stdout.
- markdown_it.cli.parse.convert_file(filename: str) None [source]#
Parse a Markdown file and dump the output to stdout.
- markdown_it.cli.parse.interactive() None [source]#
Parse user input, dump to stdout, rinse and repeat. Python REPL style.
- markdown_it.cli.parse.parse_args(args: Sequence[str] | None) argparse.Namespace [source]#
Parse input CLI arguments.