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 specified Markdown file (index.md) and converts it to an EPUB format while generating a table of contents. However, Pandoc does not automatically follow links to other Markdown files unless they are explicitly included.To include additional Markdown files, you need to specify them in the command. For example:
codepandoc --toc -o book.epub index.md chapter1.md chapter2.mdThis command will convert
index.md,chapter1.md, and into a single EPUB file.