Tags allow you to describe what kind of thing a Rem is, in a way that cuts across all documents and hierarchies in your Knowledge Base. For instance, you might have an “Author” tag you apply to Rems representing authors you like, or an “Urgent” tag which you place on todo items that you need to complete very soon. You can attach a tag to a Rem by typing
## with your cursor over the Rem you want to tag, then typing the tag's name; or by copying the tag, then pasting it over the Rem you want to tag.
Tags, References, and Portals are all ways of relating Rems to each other. If you're not sure which one to choose, check out What's the difference between References, Tags, and Portals?
Tags are closely integrated with properties, tables, and templates. For a quick overview of how these all connect, see Tags, Properties, Tables, and Templates in Five Minutes.
Tags are Rems
Because everything is a Rem, a tag is just a plain old Rem that has some additional metadata attached to it. This means you can use any Rem, located anywhere in your knowledge base, to tag any other Rem! For instance, you might want to take notes on what a Chemical Element is, making Chemical Element into a heading or Concept and adding notes beneath it, then also tag each element you take notes on with Chemical Element.
Tagging a Rem
To apply a tag to a Rem, type # twice in your editor. Then select an existing tag or type a new name and choose Create Rem (or press Ctrl+Enter, or Cmd+Return on a Mac).
Since tags are just Rems, you can theoretically use any Rem in your knowledge base as a tag here. To make it easier to find the Rem that you’re likely to want to use as tags, the
## tag search menu only shows Rems that:
Have previously been used as a tag;
Have properties or templates assigned;
Have exactly the same name as what you typed.
If you want to start using some other Rem as a tag, just choose the Show non-tags option in the list to expand your search to all Rems:
Editing a tag
Since, again, tags are just Rems, you can access them in the main editor, rename them by changing their text, move them into hierarchies, etc.
At the bottom of a tag's page, all the Rems it's tagging will be listed. Here, we open up the Urgent tag by clicking on it, look at the list of Rems it's tagging, and change its name to Super Urgent.
Tip: If you highlight a tag's Rem using
/orange, etc., the tag will appear in that color. Here's the todo list above after highlighting the Super Urgent Rem in red:
Filtering by tag
Sometimes it's helpful to show only the Rems in some document that have a particular tag, hiding everything else. For instance, you can hide all to-do items except those that are urgent. There are two ways to do this: