Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline tags #189

Closed
srid opened this issue May 15, 2020 · 2 comments · Fixed by #375
Closed

Inline tags #189

srid opened this issue May 15, 2020 · 2 comments · Fixed by #375
Assignees
Labels
enhancement New feature or request Zettel Format Anything that affects the structure of the zettel text

Comments

@srid
Copy link
Owner

srid commented May 15, 2020

Allow using tags inline in the zettel content.

Example:

Gaslighting is enabled by the victim's @psychology/cognitive-distortion
without which the victimizer is rendered powerless to influence their victim.

Meta tags should be supported, but now we parse for @<tag> in the body as well.

@srid srid added enhancement New feature or request Zettel Format Anything that affects the structure of the zettel text labels May 15, 2020
@geier
Copy link

geier commented Aug 3, 2020

I'd like to put #<tag> forward as an alternative option. Not only have twitter and similar service made the #<tag> syntax ubiquitous, but also other note taking apps such as vscode-markdown-notes (used by foam), Zettlr, Obsidian, Roam Research and probably many more use it.

@srid srid pinned this issue Sep 7, 2020
@srid
Copy link
Owner Author

srid commented Sep 7, 2020

Note to self: internally, tags should be represented as yet another query -- no different from regular link queries. Just as links establish edges on the graph, so too will tags introduce a tag-labelled edge.

For example, the inline text #daily can be transformed internally into <z:tag/daily>, and then neuron can process tags in the same manner as links. Incidentally this makes implementing inline tags simpler.

It was @jared-w who prompted me into thinking about this, and maybe he has further ideas.

@srid srid mentioned this issue Sep 7, 2020
4 tasks
@srid srid self-assigned this Sep 7, 2020
@srid srid closed this as completed in #375 Sep 7, 2020
@srid srid unpinned this issue Sep 8, 2020
@srid srid mentioned this issue Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Zettel Format Anything that affects the structure of the zettel text
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants