Options (4)
-p, --pathbooleanConvert a Markdown file to a PDF
Example:
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}}-o, --outputbooleanConvert a Markdown file to a PDF with a specific path
Example:
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}} {{[-o|--output]}} {{path/to/output_file.pdf}}-s, --stringbooleanConvert Markdown content provided as a string
Example:
markdown2pdf {{[-s|--string]}} {{markdown_text}} {{[-o|--output]}} {{path/to/output_file.pdf}}-u, --urlbooleanConvert from URL (this will convert a Markdown file at that URL to a local PDF file)
Example:
markdown2pdf {{[-u|--url]}} {{URL}} {{[-o|--output]}} {{path/to/output_file.pdf}}Examples (4)
Convert a Markdown file to a PDF
markdown2pdf [-p|--path] path/to/input_file.mdConvert a Markdown file to a PDF with a specific path
markdown2pdf [-p|--path] path/to/input_file.md [-o|--output] path/to/output_file.pdfConvert Markdown content provided as a string
markdown2pdf [-s|--string] markdown_text [-o|--output] path/to/output_file.pdfConvert from URL (this will convert a Markdown file at that URL to a local PDF file)
markdown2pdf [-u|--url] URL [-o|--output] path/to/output_file.pdfmade by @shridhargupta | data from tldr-pages