Skip to content

Instantly share code, notes, and snippets.

@cereal-s
Forked from xuanlongma/pandoc_multi_input.md
Created April 25, 2021 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cereal-s/8292b64e358354d089999cfcb8bfa4f5 to your computer and use it in GitHub Desktop.
Save cereal-s/8292b64e358354d089999cfcb8bfa4f5 to your computer and use it in GitHub Desktop.
Combine multiple input files when using Pandoc

If multiple input files are given, pandoc will concatenate them all (with blank lines between them) before parsing. -- from Pandoc website

Pandoc command: pandoc -s input1.md input2.md input3.md -o output.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment