Skip to content

Added PDF table extraction feature with aligned Markdown#1421

Closed
Ashhhh010101 wants to merge 2 commits into
microsoft:mainfrom
Ashhhh010101:pdf-table-extraction
Closed

Added PDF table extraction feature with aligned Markdown#1421
Ashhhh010101 wants to merge 2 commits into
microsoft:mainfrom
Ashhhh010101:pdf-table-extraction

Conversation

@Ashhhh010101

Copy link
Copy Markdown

This PR introduces a new feature for the PdfConverter:

  • Extracts tables from PDFs using pdfplumber.
  • Converts tables into properly aligned Markdown format.
  • Preserves all rows in the tables exactly as they appear.
  • Normalizes whitespace in text blocks.
  • Falls back to pdfminer if pdfplumber fails.

This improves Markdown output from PDFs, making tables clean, readable, and aligned without altering the original table content.

@lesyk

lesyk commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

This should solve the problem: #1499
If works, please close the request.

@Ashhhh010101

Ashhhh010101 commented Jan 23, 2026

Copy link
Copy Markdown
Author

Any updates or improvements on this PR @zashed @lesyk

@lesyk

lesyk commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Well, I have merged my PR #1499 which solves this problem as I understand.

@Ashhhh010101

Copy link
Copy Markdown
Author

Thanks for confirming, @lesyk.
Glad to see #1499 merged and resolving the issue.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants