Skip to content

Tag zettels #379

@srid

Description

@srid

Proposal

Treat tags as zettels.

Every tag #foo (see inline tags in #189) is, conceptually speaking, also a zettel, with ID foo, and as such gets the associated foo.html generated page (with an implicit [[z:zettels?tag=foo]] query in it, for listing tagged zettels).

Now here comes the interesting part: if the user already has a zettel file foo.md, then that zettel is used as the "tag zettel" - and all instances of inline tags will link to it. This is useful if you want to take custom notes on the tag itself.

Brainstorming / open questions

  • At this point, one might ask - why not unify the tagging and linking syntax? For example, why not link to some zettel "ef324s3" as #ef324s3 (i.e. no different to "tagging")? Because, now, both tagging and linking creates an edge in the zettel graph. Consequently, the tag query z:zettels?tag=foo becomes equivalent to the (yet to implement) backlinks query z:zettels?to=foo.

  • How do we deal with hierarchical tags? What does foo/bar/baz map to? What about its intermediaries (eg: foo/bar)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    GraphZettel Graph relatedproposalProposal with exact spec yet to be fleshed outunificationReduce complexity of neuron, and unify otherwise disparate concepts, removing features if necessaryv2Next generation neuron -- simple core, with plugins

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions