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 [源代码]¶
Parse a Markdown file and dump the output to stdout.
- markdown_it.cli.parse.interactive() None [源代码]¶
Parse user input, dump to stdout, rinse and repeat. Python REPL style.
- markdown_it.cli.parse.parse_args(args: Optional[Sequence[str]]) argparse.Namespace [源代码]¶
Parse input CLI arguments.