markdown-oxide icon indicating copy to clipboard operation
markdown-oxide copied to clipboard

Support tags defined on frontmatter

Open Scysta opened this issue 1 year ago • 1 comments

Hi. First of all, this project is great! I enjoy Neovim too much as to not use it for everything, including writing and note taking.

I usually declare tags on the frontmatter of a file, and I write them without the # prefix. This is actually supported by Obsidian and obsidian.nvim, but I'm not getting tag completion with moxide. Here's what I mean:

image

The suggestions are actually not meant to be tags (and probably they're fixed disabling tags on code blocks). Sure, I could manage to automate adding a # to every tag on every file, but I think they look cleaner without it, so I wanted to know if this is something that could be added!

Scysta avatar Aug 10 '24 00:08 Scysta

Hey! Thanks for the write up and kind words! I am happy you are enjoying the project.

We can consider adding this to version 0

Feel-ix-343 avatar Aug 10 '24 02:08 Feel-ix-343

Hey again, this will be part of v1 through the new parser, and so that I can make v1 actually happen, I'm gonna put this off until v1 can tackle it.

Feel-ix-343 avatar Aug 20 '24 12:08 Feel-ix-343

-- closing as this is not considered a current issue.

If I forget to do this in v1, surely this can be reopened.

Feel-ix-343 avatar Sep 09 '24 04:09 Feel-ix-343

As reference, once this is up for implementation:

This is already recognised in v0.24.0:

---
tags: rust
---

But this is not:

---
tags:
   - rust
   - python
---

But the second one would also be mandatory, because this is what Obsidian and obsidian.nvim both do.

Dardanos-Aeolus avatar May 16 '25 10:05 Dardanos-Aeolus