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

Show image in ccard of folder notes #86

Open
dragunDaniel opened this issue Dec 2, 2023 · 2 comments
Open

Show image in ccard of folder notes #86

dragunDaniel opened this issue Dec 2, 2023 · 2 comments

Comments

@dragunDaniel
Copy link

Greetings everyone. Recently, I installed the plug-in and quickly noticed that, unlike the ccards corresponding to notes, the ccards of folders do not show the image that it contains at the beginning. Let’s remember that I can create a note from a folder, a folder note, in which I can place an image at the beginning, just like in a common note.

Imagine that I have a folder 1 that contains a folder 2 and a random note. As we know, this plug-in allows me to create a folder note for folder 1, which would show me the following result:

image

In the previous case, the random note contains an image at the beginning of it, and therefore it is displayed in the ccards display. However, folder 2 also has its own folder note that also contains an image at the beginning of it:

image

And yet, the image is not displayed, as you can see in the first screenshot

Any suggestions on how to implement this solution?

Interesting data:

–> A folder note cannot be opened from a ccard either. However, thanks to this community, there is an “issue” in this repository that provided a solution through a modification of the main.js that has worked for me.

@TheDestroyer1
Copy link

While not the way you maybe want it to behave, a quick fix for the problem for the folder to show it image is to manually set that as the first item, view the ccard-syntax.md file to better figure that out.

@dragunDaniel
Copy link
Author

While not the way you maybe want it to behave, a quick fix for the problem for the folder to show it image is to manually set that as the first item, view the ccard-syntax.md file to better figure that out.

I am familiar with that method, however, doing it manually takes too much time when the number of folders is significantly large. Anyway, I appreciate the suggestion 👍

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

2 participants