mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 05:51:17 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/markdown2pdf
Normal file
25
tldr/markdown2pdf
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user