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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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