-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Store notes as .md files instead of .cson files #490
Comments
Or better yet, at the bottom. |
the benefit of the top is that there are tons of other apps and librasries that use this format so it would be more standardized |
Hi, @SMontgomery. I'm reluctant to implement our own style. Because I assume it costs a lot to maintain. In our future, if Boostnote will become bigger, then let's consider again 😄 |
An alternative would be to move all the metadata to the |
@loicteixeira I agree with this being the best solution as it is the most common solution across other apps. Also it means if using the Markdown file outside of Boostnote, then that Metadata is not going to get in the way! Also JSON is much more popular and easier to use with other libraries as most modern libraries support it already @kohei-takata you argument that GitHub parses the data when viewed on GitHub, they also parse JSON data in the same manner. Just my view on the matter |
@loicteixeira bang on the money mate. This is in line with how GitBooks works: a summary.md file defines the contents page - essentially a series of links. This is similar to storing the meta-data of the book/collection of notes. I suppose the tension is what, if any, meta-data is related to the organisation of notes vs the note itself. ie maybe we still need to have meta-data stored in the head of a note? Note Gitbook has a second file book.json for enabling plugins/additional functionality associated with that book. eg youtube viewer. eg. This is the RootSystems (the dev owned company i work with) handbook: https://github.com/enspiral-root-systems/meta |
Storing it in markdown will make life of other devs even more simpler. Agree to @agentlewis for the gitbook example. Storing it in front matter will make if more simpler as @kohei-takata told. There are many parser available for it. All the static site generators based on markdown does this, too. |
I started using Boostnote recently (its awesome). I looked at the code to implement this feature and just chickened out. It will be nice to have markdown files actually saved as independently readable files and metadata could be stored in front matter as jekyll (kramdown) supports it. |
Thanks a lot for a terrific product! There are a couple of approaches that already exist in the Markdown community for storing metadata.
Using an external JSON file to hold metadata is an OK workaround, but I'd suggest storing metadata related to the file in the individual file itself as YAML frontmatter (or MMD), and album and editor-specific metadata in the external JSON file. This would keep the formatted notes independent of the editor, and allow you to edit them in any markdown editor if you need to. |
yes, I'm a fan of typora, which is the best markdown editor in the world, hope I could use it to edit the content in boostnote! |
I started using Boostnote recently and was quite surprised with the fact that the actual notes are not stored as real markdown files. I can see several scenarios where this could be needed:
I understand, that Boostnote is not a markdown editor, it is a note-taking app, but it seems to me that the implementation should be as standard as it can be. And BTW, the app itself is great, the devs did a really good job. Thanks! |
I would prefer the idea of using markdown files with yaml front-matter. That would make it really easy to reuse the files. The current storage format as CSON is really suboptimal. It's uncommon and even doesn't have a real specification... I have a fork of boostnote where i ported the data format to normal json because i'm planning to write a new mobile client in go + qt and couldn't find a CSON-library for go. But markdown files with yaml front-matter would also fit very well in my plans. I could implement the parser i think, if desired. Normal notes would be no problem, but the syntax for snippet notes could be tricky. Atm i'm thinking about putting the description in the front matter and all snippet "files" in the markdown content, separated by lines (
|
Is this issue going to be fixed? I think this will convince a lot of folks who are currently using various markdown based schemes to switch to Boostnote (because of the ease of switching back if needed). |
@ZeroX-DG I would like to add an option to add or not the metadata into the YAML front matter. |
I really don't think export only is sufficient, what I want is to use an external editor to modify markdown files of the BootIO directly, without export and import again. |
I don't think an export is sufficient. We want to have the option of using an external editor to edit the Markdown files if needed. |
Having notes stored in native markdown + frontmatter for meta is definitely a good way! |
I have just switched from BoostNote to Notable for this reason. https://github.com/notable/notable I think BoostNote is superior in most respects but this is a huge issue. By having the files be plain markdown and storing them in an iCloud folder on my Mac, I can access them with apps like iaWriter on my iPad and iPhone. I don't understand why BoostNote team uses .cson when .md is so much more useful. Notable also uses the note title for the file name and has a sensible folder structure. |
Thank you for the pointer to notable |
It's odd that this has been open for 1.5 years now, it is one of the most upvoted and commented on issues, and yet it has not even been given a "feature request" label yet. |
Unfortunately, this was the issue that made me switch to Typora. |
@SMontgomery thanks for mentioning typora - it looks rad! I’m downloading it now. Are there any features you wish it had that BoostNote does? Like you this issue is the make or brake for me so I stopped using BoostNote a while ago and was just following this issue waiting for a solution. If this were stackoverflow I’d vote for this to be the solution to this issue. |
I'd also like to register my interest for this feature / change. I've absolutely LOVED using Boostnote now for over a year. It just feels nice to use, flows well, etc. However, using random-hashed file names makes it "impossible" for me to find I want to make an edit to on a mobile device (since the mobile app was dropped for now) since I've got well over a hundred notes. Having them stored as straight Markdown, with reasonable names as requested in #2048, would help me alot. (I've found VNote which stores all their notes in a folder structure and as pure Markdown (with an additional meta-data section at the top of the Markdown file). I absolutely love that about VNote. But to be honest, using it is not as nice as using Boostnote. Its UI feels a little dated, though works well.) |
I would like to also state my interest in this feature. The current file format is sadly not what some people are expecting. I was looking for an application that stored the files outside databases for external editing, with vim or any other editor or viewer I desire. In the current state is like it was in a database. I cannot view it with other programs. |
Yes, .md file is better than .cson, any text or markdown editor tool can used on it. And we can view the files with other tools in Mobile. |
@boostio has funded $60.00 to this issue.
|
Hey guys. I just submit a PR (#3445) with a propose. Hope that solution can solve this issue. :) |
@maykefreitas what happens with existing .cson notes? |
@arcturus140 Good question. I'm not handling conversions in this PR. But it is a thing to discuss about. |
Storage locations are versioned: Alternatively, both formats can be used by either extending the current format with a version or handling existing notes by their extension: |
really waiting for this feature, not having it was a blocker to use boostnote for me. |
It's being 2 years and it also got funded. What is the current state of this issue? |
Would be nice if the files could be viewed by any program that can view markdown. One suggestion is to put your internal data you need as a comment at the top of the file:
IssueHunt Summary
Backers (Total: $60.00)
Submitted pull Requests
Become a backer now!
Or submit a pull request to get the deposits!
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: