ISPO SDK
    Preparing search index...

    Interface DocumentsToMarkdownArgs

    Markdown
    interface DocumentsToMarkdownArgs {
        content: DocumentContent;
        mimeType?: string;
        name?: string;
    }

    Hierarchy

    Index

    The document bytes (PDF, Office, OpenDocument, RTF, EPUB) or text.

    mimeType?: string

    Optional MIME type hint, used the same way as name.

    name?: string

    Optional basename hint. Its extension is how the host picks a parser when the bytes carry no recognizable signature; it never names a real path.