evernote2md icon indicating copy to clipboard operation
evernote2md copied to clipboard

config image export

Open tatoosh opened this issue 3 years ago • 4 comments

Context currently the image export goes to subfolder image\image.png

Solution it would be nice to set the export folder like other tools to subfolder assets\<markdownFIlename>\<images###>.png

tatoosh avatar Aug 17 '21 06:08 tatoosh

Hello @tatoosh! There is a --folders flag already present to put every note in a separate folder. The resulting folders will be structured like this:

|- <noteTitle>
    |- images
         |- <image###>.png
    |- README.md 

Would it solve the problem for you?

wormi4ok avatar Sep 02 '21 19:09 wormi4ok

thanks @wormi4ok, but i need more options, so every team member can order the files at a given pattern. I really need this structure assets\<markdownFIlename>\<images###>.png

tatoosh avatar Sep 03 '21 06:09 tatoosh

My issue with the way images are exported is that for some reason they are not being linked to the note properly. Say if I have 3 notes (note0, note1 and note2) all with an image, the images would be saved as image.png, image-1.png, image-2.png. However, it seems that the mapping of note0 -> image.png, note1 -> image-1.png etc is lost? So you end up getting the wrong image pulled into the markdown. I can provide more details/screenshots if it would help.

nicolasdarmanthe avatar Oct 11 '23 03:10 nicolasdarmanthe

Hey @nicolasdarmanthe ! I recall fixing a bug that you described, but I see how regression could have happened with the release of the latest version. It would be very helpful if you can share these three notes with minimal content in them (ideally, just one image in each of them) for me to reproduce the problem.

wormi4ok avatar Oct 12 '23 07:10 wormi4ok