mjsumpter / obsidian-tag-page

An Obsidian plugin to create and manage dedicated Markdown pages for tags, with features to automatically populate and refresh content based on user-defined settings.
MIT License
15 stars 4 forks source link

Creating a tag page for a nested tag doesn't work #20

Open mjsumpter opened 2 months ago

mjsumpter commented 2 months ago

When trying to create a tag page for a nested tag only (no wildcard, #tag/*), the plugin fails.

See #19 for details

duckfarts commented 1 month ago

I'm also experiencing issues creating tag pages for nested tags, but I noticed that if you create a tag page (using a root level tag) and then you change the tag-page-query property to a nested tag, the page populates fine.

My guess is that making tag pages might not be working because nested tags have / characters in them, and those can't be used for the name of a page; maybe the / characters need to be replaced?

mjsumpter commented 1 month ago

@duckfarts Solid idea, you may be right. I'll look into that.

duckfarts commented 1 month ago

So I was poking around the .js code and found how to fix this, and stumbled upon how to make a pull request for this (I am new to using git so I'm clicking and guessing).