KevinBatdorf / obsidian-raycast

Raycast extension with commands for the note taking app Obsidian.
MIT License
106 stars 19 forks source link

Tag problems when creating a new note: #41

Open johnson86tw opened 1 year ago

johnson86tw commented 1 year ago

Hi @marcjulianschwarz

Thanks for this awesome project!

There are two problems I am facing with this extension when I want to create a new note:

  1. I have to set suggested tags in Raycast preference so I can add the tag for my new note. Is this the intended behaviour? I hope I can add any tag when I create a new note without setting anything before.

截圖 2023-01-07 下午4 46 00

  1. As stated above, when I use the tag I had set in Raycast preference, the tag format in my new note is like this:
    Untitle
    ---
    tags: ["js", "others"]
    ---

But I hope it can be like:

Untitle
#js #others

截圖 2023-01-07 下午4 47 35

marcjulianschwarz commented 1 year ago

Hi @chnejohnson, thank you for your suggestions.

  1. This a limitation of the Raycast API. Several people from the Raycast community have already talked to the developers about this. Maybe this will be possible in the future, but sadly not right now 😥
  2. This doesn't seem right. The YAML frontmatter should of course be above the title. For now it is not planned to be able to use inline tags. However I will add this idea to the roadmap.
elliotdes commented 6 months ago

Hi, why do the tags need to be set in preferences before they can be used? The tags section is just plain text.

If there is no reason to prevent this, I am happy to open an issue / PR to add this feature. Please let me know @KevinBatdorf @marcjulianschwarz

KevinBatdorf commented 6 months ago

I'll take a look at the PR @elliotdes