I'm using this command: pandoc -t gfm --extract-media . -o file.md file.docx And it works great *but* the table of contents has lost the link into the document and internal hyperlinks are also lost. I would also like to take this large DOCX and split it into smaller sections based on the heading level. So: 1. Is there a way to split the docx into multiple md files based on heading level? 2. Is there a way to retain the table of contents links into the body? 3. Is there a way to retain the internal links? Thanks very much. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5cd30106-fcc5-419e-9093-bc3a00849872n%40googlegroups.com.