Overview
Features
convert-contents tool for cross-format transformations
Core tool that converts content between formats, accepting either contents or an input_file, with options for input_format, output_format, output_file, reference_doc, defaults_file, and filters.
Wide-format support
Bidirectional conversions across Markdown, HTML, TXT, DOCX, PDF, RST, LaTeX, EPUB, IPYNB, and ODT.
Defaults Files (YAML) configuration
Supports reusable conversion templates via YAML defaults files to standardize options and styling.
Pandoc Filters support
Allows applying custom Pandoc filters during conversion for enhanced processing.
DOCX styling via reference document
DOCX output can be styled using a reference document provided through the reference_doc option.
Bidirectional conversion matrix
Documentation includes a bidirectional matrix showing supported conversions between formats.
PDF output considerations
PDF is an advanced, output-only format that requires TeX Live; conversions to PDF are supported, conversions from PDF are not.
Prerequisites and environment
Requires Pandoc installation and UV package; PDF requires TeX Live; complete file paths are required for saving outputs.




