-
Notifications
You must be signed in to change notification settings - Fork 647
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
Autotag from directory name? (better Import from Joplin) #660
Comments
I would like to have directories as a first class citizen in note taking system. But you can nest folders, but not tags - tags are flat. What about using folders as hierarchical nodes for notes? Currently I am keeping a dummy index files, so |
Hi @maciejmatczak, a couple of notes:
|
I agree that folders could/should be represented, I think we can provide options and expand on the topic but getting a first draft would be the priority. |
Thanks guys, comments appreciated. My comment here might be a bit off topic. Main "folders in graph" is #452. BTW, "first draft" - it's implementation or functional spec / results expectation? |
This is a two-part PR (which I could unmerge if people want)
I want a nice importer from Joplin (an open source markdown note storing tool) to Foam.
I think the simplest way to do this would be to auto-add a tag to file based on the directories it is in (so "home/roof/fix.md" would #home and #roof).
Full description:
Joplin is based around storing notes in an hierarchical structure, so export produces a nested directory structure of markdown files.
Joplin does have tags (which are stored as #tags at the top of files, so are automatically picked up by Foam), but I didn't use them much.
I wondered if Foam could auto-add a tag for files based on their directories? Personally I'd like this generally, it would mean entries in journal got
#journal
automatically, for example.I wrote a horrible one line bash script which added a
tags:
to each file based on the directory they were in, so "home/roof/plans.md" got tags "#home" and "#roof". This (for me) made the import much nicer.The text was updated successfully, but these errors were encountered: