Developer guide

Basic usage

  • Convert files – convert documents to Markdown using static methods or the instance API.
  • Get document info – retrieve metadata such as format, page count, title, and author without converting.

Advanced usage

  • Load files – load from disk or stream, specify format, and handle password-protected documents.
  • Image saving strategy – embed images as Base64, save to the file system, skip images, or use a custom handler.
  • Convert specific pages – select individual pages or worksheets for conversion.
  • Markdown flavor – target GitHub Flavored Markdown or CommonMark output.
  • YAML front matter – generate YAML metadata blocks for static site generators.
  • Heading level offset – shift heading levels when embedding converted content.
  • Spreadsheet options – control column/row truncation, sheet separators, and hidden worksheets.
  • Error handling – handle conversion errors with specific exception types and warnings.