Skip to content

feat: add PDF to Markdown conversion tool#9

Open
aidenmitchell wants to merge 1 commit into1612elphi:mainfrom
aidenmitchell:feature/pdf-to-markdown
Open

feat: add PDF to Markdown conversion tool#9
aidenmitchell wants to merge 1 commit into1612elphi:mainfrom
aidenmitchell:feature/pdf-to-markdown

Conversation

@aidenmitchell
Copy link

  • Add pdfjs-dist dependency for PDF text extraction
  • Create /lib/pdf-to-markdown.ts with core extraction logic:
    • Heading detection based on font size ratios (configurable sensitivity)
    • List detection (bullets, numbered items, indentation-based)
    • Bold/italic detection from font names
    • Paragraph grouping by vertical gaps
  • Create /components/tools/pdf-to-markdown.tsx UI with:
    • Drag-and-drop file upload
    • Options panel (heading sensitivity, list detection, page breaks)
    • Preview (react-markdown) and Raw Markdown tabs
    • Download .md and copy to clipboard actions
    • Stats display (pages, words, headings, list items)
  • Register tool in Typography & Text category
image image image

- Add pdfjs-dist dependency for PDF text extraction
- Create /lib/pdf-to-markdown.ts with core extraction logic:
  - Heading detection based on font size ratios (configurable sensitivity)
  - List detection (bullets, numbered items, indentation-based)
  - Bold/italic detection from font names
  - Paragraph grouping by vertical gaps
- Create /components/tools/pdf-to-markdown.tsx UI with:
  - Drag-and-drop file upload
  - Options panel (heading sensitivity, list detection, page breaks)
  - Preview (react-markdown) and Raw Markdown tabs
  - Download .md and copy to clipboard actions
  - Stats display (pages, words, headings, list items)
- Register tool in Typography & Text category

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Contributor

vercel bot commented Feb 3, 2026

@aidenmitchell is attempting to deploy a commit to the 1612elphi Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant