If Tag has a lot of nested tags, the Hierarchy section will become a lot.
For example, for #Tech/SwiftUI
, it has many child tags. The Hierarchy section will like this:
There are too many duplicate subpages, and the page structure cannot be clearly seen.
So I propose to display the parent tag and child tag respectively:
-
For all parent tags of the current tag, since there is only one path to this tag, we can use the format like
[[grandparent tag]] / [[parent tag]] / [[current tag]]
. This clearly shows the relationship between the current tag and all its parent tags. -
For all child tags of the current tag, use
{{namespace [[current tag]]}}
to display the structure. This reduces the duplicate display.
The changed effect (from the stitching of two pictures):