Skip to content

Emit \n\n for paragraph breaks using a higher vertical-gap threshold #1350

Description

@fabrii

pdfplumber inserts \n between lines based on the y_tolerance parameter.

It would be great to also detect paragraph breaks: when a larger vertical gap is found (above a separate threshold), emit \n\n instead of \n. This would make paragraph boundaries detectable.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestAll feature requests receive this label initially, can be upgraded to "enhancement"

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions