Files
Tom MoorandClaude Opus 5 b032f1f819 feat: PDF import support (#13302)
* feat: Import PDF documents

Adds a PdfConverter that parses PDF files to markdown with pdf-inspector,
recovering headings, lists and tables from the layout of the text on the
page. A PDF with no embedded text is rejected, as reading it would need OCR.

Markdown has no syntax for underline, so the parser writes underlined text
as an HTML <u> element. Inline HTML is not enabled when the markdown is read
back, so the tags are rewritten to the underline syntax the editor knows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Accept PDF files in the import dialog, and give it a two column layout

The supported formats move alongside the drop target rather than below it,
so the dialog reads in one glance. Their badge icons are dropped with the
grid they were laid out in, leaving FileFormatIcon unused.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* feedback

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05 18:36:40 -04:00
..
2026-08-05 18:36:40 -04:00
2022-04-23 10:07:35 -07:00
2026-08-05 18:36:40 -04:00