snippetbashTip
markdown2pdf — Convert markdown to PDF. More information: <https://github.com/theiskaa/markdown2pdf>.
Viewed 0 times
commandmarkdownconvertmarkdown2pdfclipdfinformationmore
Problem
How to use the
markdown2pdf command: Convert markdown to PDF. More information: <https://github.com/theiskaa/markdown2pdf>.Solution
markdown2pdf — Convert markdown to PDF. More information: <https://github.com/theiskaa/markdown2pdf>.Convert a Markdown file to a PDF:
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}}Convert a Markdown file to a PDF with a specific path:
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}} {{[-o|--output]}} {{path/to/output_file.pdf}}Convert Markdown content provided as a string:
markdown2pdf {{[-s|--string]}} {{markdown_text}} {{[-o|--output]}} {{path/to/output_file.pdf}}Convert 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.pdf}}Code Snippets
Convert a Markdown file to a PDF
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}}Convert a Markdown file to a PDF with a specific path
markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}} {{[-o|--output]}} {{path/to/output_file.pdf}}Convert Markdown content provided as a string
markdown2pdf {{[-s|--string]}} {{markdown_text}} {{[-o|--output]}} {{path/to/output_file.pdf}}Convert 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.pdf}}Context
tldr-pages: common/markdown2pdf
Revisions (0)
No revisions yet.