From 8ae72b3560801f75030615910e0c7d1bcb31dc76 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Tue, 8 Oct 2024 19:04:56 +0300 Subject: [PATCH] pandoc: adjust order and make the example what newbies would most likely use it for (#14014) Update pandoc.md --- pages/common/pandoc.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/pandoc.md b/pages/common/pandoc.md index cd0b29cf6..cdda73900 100644 --- a/pages/common/pandoc.md +++ b/pages/common/pandoc.md @@ -7,14 +7,14 @@ `pandoc {{input.md}} -o {{output.pdf}}` +- Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.): + +`pandoc {{input.md}} -s -o {{output.html}}` + - Force conversion to use a specific format: `pandoc {{input.docx}} --to {{gfm}} -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`