Advanced usage

Learn about advanced GroupDocs.Markdown features for fine-tuning the conversion process:

  • Loading files – load from disk or stream, explicitly specify format with FileFormat, and handle password-protected documents via LoadOptions.
  • Image saving strategy – control how images are handled: embed as Base64, save to the file system with images_relative_path, skip images entirely, or pass a Python callable for custom logic.
  • Convert specific pages – select individual pages or worksheets to convert using the page_numbers property.
  • Markdown flavor – choose between GitHub Flavored Markdown (GFM) and CommonMark output.
  • YAML front matter – generate YAML metadata blocks from document properties for static site generators.
  • Heading level offset – shift all heading levels by a fixed offset when embedding content into a larger document.
  • Spreadsheet options – control column and row truncation, sheet separators, and hidden worksheet inclusion.
  • Error handling – catch specific exception types and inspect non-fatal conversion warnings.