Skip to content
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

config image export #53

Open
tatoosh opened this issue Aug 17, 2021 · 4 comments
Open

config image export #53

tatoosh opened this issue Aug 17, 2021 · 4 comments

Comments

@tatoosh
Copy link

tatoosh commented Aug 17, 2021

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

@wormi4ok
Copy link
Owner

wormi4ok commented Sep 2, 2021

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?

@tatoosh
Copy link
Author

tatoosh commented Sep 3, 2021

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

@nicolasdarmanthe
Copy link

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.

@wormi4ok
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants