if I run pandoc as “pandoc --toc -o book.epub index.md” will it follow links to other md…
- User
if I run pandoc as “pandoc --toc -o book.epub index.md” will it follow links to other md files? How can I output warnings if something is not found
- Assistant
When you run Pandoc with a command like
pandoc --toc -o book.epub index.md, it processes the specifiedindex.mdfile to generate an EPUB file. By default, Pandoc does not automatically follow links to external Markdown files referenced withinindex.md; it processes only the files explicitly specified in the command.To include multiple Markdown files in your EPUB, you need to list them all in the command. For example:
bash