-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Feature Request] Export Notes as Markdown/Other #248
Comments
Go ahead! Use the triple-dot menu when a Note is opened to store the "Export Note…" menu item, then code what's necessary to export the note. :) |
ok, one more question, could i add an option to save as markdown automatically ? it could use markdown instead of json, or just export to markdown on app close, but that seems a bit more convoluted |
( for context, there's an app called noteless on android, and notable on desktop, that save markdown files to an external directory that can be synced, but i much prefer the UI of this one, and would like to be able to use it if possible but i dunno if that's out of the scope of this project ) |
As long as moving to Markdown makes saving the note's metadata like colour and notebook possible.. That's why it's in JSON right now. But it would be a second Pull Request for that. Smaller Pull Requests are better than big ones for review. :) |
i think metadata like that could be stored in comments, as suggested in this post
should be fine for storing metadata alternatively, a file could be stored alongside it, like ".notejot.json" that stores metadata for all files |
Alright! So, feel free to start coding :) |
awesome, thanks ^~^ |
@theotheroracle Any updates? :) |
heya ! i'm sorry, i haven't gotten too much done, i've been busy with my job, and my dev PC is currently borked, but i'll try to work on it as soon as i can |
No rushes, just wanted to know what's up haha |
Hey @theotheroracle, do you have any updates? This app looks sleek but it's kinda useless given that notes can't be synced betweed devices as it uses JSON and not markdown, plain text or other file formats. |
i got a new laptop and i have a bit more free time on my hands, so i'll take another crack at this, thanks for reminding me <3 |
Due to an incoming backend super re-write, perhaps what I'm planning to do may add value to this issue. I'm planning to rewrite the backend so that the core is using the Repository pattern, instead of the DIY mess that is now here. Perhaps, this might make the job easier to have an export button in the menu. |
what do you mean by repository pattern ? |
should i wait for you to update the repo pattern before doing anything then ? |
It's already all done. You can start your things :) |
@theotheroracle Here's a mockup of where the Export button would be: |
looks good to me |
Would usefull to make the most common markdown formatting options (titles, boxes, code quotes) available as formatting options (with buttons (like the listing item option) and correctly display/transform them it in the writer. That would make this tool super powerful cause it would be possible to do markdown formatting over the ui. |
yeah definitely, i could look into that if that's ok with @lainsce |
If you can rework the formatting to work with Markdown glyphs instead of what it has now, and at least add what would make sense in a simple notes app for the missing format options, then I give the ok. I just don't want all the formatting options and the kitchen sink as that would defeat the simple part of Notejot. |
i think it would be fairly trivial to integrate with goa |
OK, so let's make it a multipart PR I guess, @theotheroracle? XD First PR being the whole exporting of notes, and second PR being integration with GOA "notebooks" in a separate sidebar list where only Synced Notebooks are, with a refresh button by the header. |
yeah that sounds good |
The thing is, we'd have to wait for GOA to be ported to GTK4, since it only has a GTK3 version. |
Hi! Just found this app today and it's really nice, thanks! About this issue, frist thing I thought when writting my first note was: "why is this not using markdown?!?" I think it would be a perfect match. I mean, not exporting to markdown, but using markdown in the app's editor itself. |
maybe there could be a markdown mode ? wouldn't be too hard to implement once exporting was finished . |
yes, in addition to what @theotheroracle said, it would be wonderful to have note's live previewing markdown, like Obsidian. I've just discovered this app, I fell in love with it: keep it up! |
UPDATE I have fixed this issue myself; notes will be able to be exported in a fixed format but favouring Markdown. |
sorry i wasn't able to do this and i'm glad you were able to |
Don't worry about it. :) |
would it be possible have the app save the notes as markdown to an external directory ?
can work on an implementation if the idea is alright
The text was updated successfully, but these errors were encountered: