0

I have multiple markdown files saved in my repository (Git). These files are used with the Docusaurus engine to generate a static website. The output order of these files is defined in the Docusaurus configuration file. Is there a way in the same way to generate a PDF document? For example, in the configuration file specify the order of markdown files. I've searched for the Pandoc, but it only excepts a directory of markdown files. Are there simple tools that read such configuration file and generate a PDF document?

Evaldas
  • 1
  • 1

2 Answers2

0

Have you tried https://github.com/TheFern2/markdown-book?

It uses Pandoc with a Python script.

mafloh
  • 24
  • 2
0

You could create a master Rmd that includes each of them (even generate that list dynamically) and then knit the master. Check out the "child" chunk option.

dsz
  • 4,542
  • 39
  • 35