-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
QOwnNotes + Github + Grav #3103
Comments
I was searching for another software.. and the zettlr does something similar.. it lets to save the image and it saves side a side with th markdown or in something that you specify, and resize it. It has too a unified view and editor that is interesting too. The qOwnNotes has another cool features but could you take as an example. |
I had no issues with vuepress doing blog posts with QOwnNotes in https://github.com/pbek/QOwnNotes/tree/main/webpage/src/blog. Can you do symlinks to places where things need to go? |
I'll take a look |
I saw the vuepress I always think that this QOwnNotes media system is strange. It leaves everything mixed up and you can't delete the media if you want to delete the markdown. It shouldn't be that big a change in terms of development to implement and it would help QOwnNotes a lot. I had this same problem in the past with something else that I don't remember but there are other threads here on QOwnNotes git with people asking for this. Well, that's a suggestion. I don't know the conditions under which QOwnNotes is developed. Whether or not you want to add it to the list of new features is your choice. Thanks |
Can you please elaborate on what you are talking about? It means you insert a file and don't copy it to the media folder. And you can always just type markdown in by hand.
If you think it's easy, I'll look at your PR. 😉 Be sure to do the same for attachments too, tho. And have fun with all the edge cases, for example when people are trying to use a folder that is anywhere in the file-system or on a different drive (on Windows) or when it's the same as the attachment folder or when a changes the folder in portable mode or when the new path breaks all the Markdown link detection systems. And then try to move a note and make sure the migration of the paths also works. And we probably need to migrate all media and attachment paths in existing notes, when the user changes the folder. Probably the settings need to be per note folder, because otherwise you will break the other folders. And the settings must somehow be part of the Those are just the first few things that come to mind... |
You can do whatever you like with media files when you are inserting them with the help of: You can try to just rewrite the path to a grav path. Anyway, I don't really understand what issue grav or grav-plugin-git-sync have. 🤷🏻 |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
This solution does not solve this issue. Maybe I did it confuse with this grav history. I wanted to detail it but it was complex to understand. The issue is a new feature, like zettlr. I'm using zettlr while it. New option to save the media in the same folder of the markdown file. Just that. How I said, I don't know the complexity to do this and the priority, availability and interest of developers in doing so. I'm not demanding anything. I'm just letting you know that it's one of the reasons I'm using zettlr for some things but I'd really like to go back to just using qownotes for everything. zettlr also has a single view feature (without dividing into editing and viewing). But as I said, my main editor is QOwnNotes. If you could add it to the list of new features,I would appreciate. Well, you can close the issue. thank you very much. |
Hi,
This question seems to be about grav but there is very little knowledge of grav that you need... it's more about qownnotes. This is an explanation if you want to see the possible solutions you can skip to the end.
I'm trying to sync my QOwnNotes and Grav with git and github.
I'm using this grav plugin:
https://github.com/trilbymedia/grav-plugin-git-sync
This is the grav
user
folder structure:This
user
folder is the git root foder, so the.gitignore
is in it. The.gitignore
is like this:So in the
grav-plugin-git-sync
, I'm syncing 2 folders,pages
and I made amedia
folder to gravuser
folder.In my github repo stay like this:
I did the git clone in my local machine and open with the QOwnNotes. So when I save an image, it saves in the
media
folder.But if I do
git commit ...
git push ...
and sync in the grav it works fine, but theuser
folder isn't accessible in the front end in the grav. Consequently, themedia
folder isn't accessible too. The unique folder accessible ispages
folder where are the markdowns.Tries:
pages
folder to let create amedia
folder insidepages
folder, it create another.git
in thepages
foder. The attachments in the grav will be showed but QOwnNotes auto commit doesn't work and the attachments will not be showed in the grav admin.![my image](user://themes/mytheme/images/my-image.jpg)
I need to have changing all time the urls. And after change the image disappear in the QOwnNotes.Some solutions could be:
grav admin plugin
recognize the medias in the dash.best regards
The text was updated successfully, but these errors were encountered: