Attached.Processors.Transformers.Document.Pandoc (Attached v0.1.1)

Copy Markdown View Source

Document-to-markdown transformer using pandoc.

Converts EPUB, DOCX, HTML, RTF, FB2, RST, and LaTeX inputs into a GitHub-flavored Markdown variant (text/markdown).

Pandoc auto-detects the input format from the file extension. The variant pipeline writes the input to a temp file with the original extension preserved, so detection works without an explicit -f flag.

Embedded images are not extracted — image references in the output point to the original archive's internal paths and will be broken links. Use a separate image previewer (e.g. Epub.EpubThumbnailer) for cover art.