blakedietz / vscode-nested-tags

Stop using your file tree to organize your notes. Transform VSCode into a note-taking app by adding tag support.
MIT License
74 stars 17 forks source link

Tags from file name #84

Open majkinetor opened 2 years ago

majkinetor commented 2 years ago

I don't like to pollute files with yaml frontmatter. I would prefer to have an option to keep tags in the filename instead of frontmatter (or both).

General idea: note #topic #example.md

Details

Given that nested tags support multiword tags and nested tags its good to have a way to specify that (although ordinary tags could be enough for many):

  1. One word tags: fn #word1 #word2.md
  2. Multiword tags : fn #word1 word2 #word3 word4.md
  3. Nested tags: fn #word1#word2#word3.md (multiword: fn #word1#word2 word3#word4.md

This deserves an option:

If both are checked, the plugin will take from any. If file has both, tags should be combined.