-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When exporting notes to pdf, the image resource fails to load. #19
Comments
Hi @cestbonsuliu, I could reproduce this with an image like |
Thank you very much for the quick improvement! I will try again when my work is done |
hey bro, sorry for the delay of a few days. After my testing I found that there are still problems with. Execute the following code:
Got the body of the note: " ![d04840c9e13f308719809a495b4d536e.png](:/22ada25077f944c6ae999daf40bd8988)
会导致插件出现问题,如下 ![fa0e980914c7ef6e4be4dac3acec9b6c.png](:/55dfd6b9efe14dafb2a619950de86d18) "The problems in the final obtained pdf:
|
Ah, I see. On my linux machine it works, but I can reproduce in a windows VM. I can probably take a look at the issue this week. |
@cestbonsuliu Could you test once more? It should be fixed on master (at least on my windows VM). I didn't use the file protocol properly. Two remarks (not directly related to the issue):
Edit: Both remarks should be fixed by css tweaks in 06d96e7. |
I'm happy to report that the feature implementation was successful.I really appreciate your prompt and thorough assistance with my Github issue. |
Problem Description
I encountered the following error when running note_export.py to export notes to PDF
The code block does not render well and the image fails to load. How can I solve this problem?
The text was updated successfully, but these errors were encountered: