jzillmann / pdf-to-markdown

A PDF to Markdown converter
https://pdf2md.morethan.io
MIT License
1.2k stars 195 forks source link

download problem #17

Open BingHuaCheng opened 4 years ago

BingHuaCheng commented 4 years ago

expect to add the download function for the online version

darkcheftar commented 2 years ago

@BingHuaCheng Can you elaborate more?

karmeye commented 1 year ago

Once converted, how do you create a Markdown file from the result?

I tried to go to edit then select all, but it's too much data for the clipboard on my mobile to handle.

jzillmann commented 1 year ago

@BingHuaCheng Sorry, copying the edit is currently the way. @darkcheftar I think adding a download link next to the Edit/Preview button shouldn't be too hard. In case you have time for this I would be willing to review and bring it in (master branch)!

darkcheftar commented 1 year ago

Sure will take a look into it😁

darkcheftar commented 1 year ago

Hey @jzillmann Im getting the following error for npm i

npm ERR! code ERESOLVE
npm ERR! Conflicting peer dependency: webpack@5.75.0
npm ERR! node_modules/webpack
npm ERR!   peer webpack@"^5.1.0" from copy-webpack-plugin@9.1.0
npm ERR!   node_modules/copy-webpack-plugin
npm ERR!     dev copy-webpack-plugin@"^9.0.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\usename\AppData\Local\npm-cache\_logs\2023-02-25T12_35_07_077Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\username\AppData\Local\npm-cache\_logs\2023-02-25T12_35_07_077Z-debug-0.log
>node -v
v19.7.0
>npm -v
9.5.0

As far as I understand the error is due to having different versions of node and npm that I'm using and you would have used. Could you please correct me if I'm wrong? Or Share the version node and npm that helps me execute code in master branch

regards, @darkcheftar

jzillmann commented 1 year ago

I tried to fix the dependencies.. but it's a bit of a rabbit hole... can you try npm I --force ?

darkcheftar commented 1 year ago

I tried it but still No good, Same error