Skip to content

[Bug]: Web UI uses poorly maintained pdf-to-markdown javascript library #1488

Open
@ksylvan

Description

@ksylvan

What happened?

The latest pdfjs (version 5.x) does not render correctly with the way the current Svelte app uses pdf-to-markdown

I managed to upgrade the ancient version of that (with its correspondingly old version of the pdfjs-dist library) to a more recent 4.x version.

The current maintainer of pdf-to-markdown says here: jzillmann/pdf-to-markdown#10 (comment)

[...] the modularize branch isn't working yet (and I'm currently not active). So no way using it. Please checkout https://www.npmjs.com/package/@opendocsg/pdf2md

This is a much more active and current Javascript pdf2md project.

We should replace the pdf-to-markdown usage with this library.

CC: @jmd1010 @eugeis @danielmiessler

Version check

  • Yes I was.

Relevant log output

Relevant screenshots (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions