Skip to content

Instantly share code, notes, and snippets.

@extratone
Forked from xuanlongma/pandoc_multi_input.md
Created May 8, 2021 21:41
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 extratone/997d55f8d23f2bd40932bbe484b92a5f to your computer and use it in GitHub Desktop.
Save extratone/997d55f8d23f2bd40932bbe484b92a5f 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