pdfextract API
    Preparing search index...

    Interface MarkdownOptions

    Options for toMarkdown.

    interface MarkdownOptions {
        furniture?: boolean;
        lines?: "paragraph" | "preserve";
        pageSeparator?: string;
        tables?: "auto" | "html" | "pipe";
    }
    Index
    furniture?: boolean

    Running headers and footers (TextBlock.furniture): kept by default; false leaves them out, as when the Markdown feeds a model or a search index.

    lines?: "paragraph" | "preserve"

    Paragraph lines: paragraph (default) joins a paragraph's lines into one and rejoins words hyphenated at a line end; preserve keeps the lines as laid out on the page.

    pageSeparator?: string

    Text placed between pages; default a thematic break (---) on its own paragraph.

    tables?: "auto" | "html" | "pipe"

    Table syntax: auto (default) writes a pipe table, or an HTML table where cells merge (pipe tables cannot merge cells); pipe and html write every table one way.