Skip to content

Commit

Permalink
pandoc: adjust order and make the example what newbies would most lik…
Browse files Browse the repository at this point in the history
…ely use it for (tldr-pages#14014)

Update pandoc.md
  • Loading branch information
Managor authored Oct 8, 2024
1 parent 4a44a57 commit 8ae72b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/common/pandoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

`pandoc {{input.md}} -o {{output.pdf}}`

- Force conversion to use a specific format:
- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):

`pandoc {{input.docx}} --to {{gfm}} -o {{output.md}}`
`pandoc {{input.md}} -s -o {{output.html}}`

- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.):
- Force conversion to use a specific format:

`pandoc {{input.md}} -s -o {{output.tex}}`
`pandoc {{input.docx}} --to {{gfm}} -o {{output.md}}`

- List all supported input formats:

Expand Down

0 comments on commit 8ae72b3

Please sign in to comment.