Developer guide

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Markdown MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-markdown -- dnx GroupDocs.Markdown.Mcp --yes
Folders, licensing and more →

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.