pandoc: add example (#2483)
This commit is contained in:

committed by
Muhammad Falak R Wani

parent
8ad9792a96
commit
bfc713630f
@@ -2,14 +2,18 @@
|
||||
|
||||
> Convert documents between various formats.
|
||||
|
||||
- Convert file to pdf (the output format is automatically determined from the output file's extension):
|
||||
- Convert file to pdf (the output format is determined by file extension):
|
||||
|
||||
`pandoc {{input.md}} -o {{output.pdf}}`
|
||||
|
||||
- Convert a file to a specific output format (useful for when the extension alone is ambiguous):
|
||||
- Force conversion to use a specific format:
|
||||
|
||||
`pandoc {{input.docx}} --to {{markdown_github}} -o {{output.md}}`
|
||||
|
||||
- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):
|
||||
|
||||
`pandoc {{input.md}} -s -o {{output.tex}}`
|
||||
|
||||
- List all supported input formats:
|
||||
|
||||
`pandoc --list-input-formats`
|
||||
|
Reference in New Issue
Block a user