Tag-Chain: tags that build the tree
In Konspecter you don't make folders and then sort conspects into them. You write a tag or two right in the text, and Konspecter builds the tree from them. This is how it works.
A tag is a word with # in front
Put # right before a word, anywhere in a conspect: in a sentence, a heading or a list. The conspect then shows up under that tag. Capital letters don't matter: #Recipes and #recipes are one tag.
You write
#recipes
You get
Each # adds a level
Write tags one after another, with no spaces, and each goes inside the one before it: three tags in a row make three levels of the tree. With a space between them, they are separate tags instead.
You write
#recipes#baking#bread
You get
- Recipes
- Baking
- Bread
- Baking
You write
#recipes #baking
You get
One tag, many places
A tag is just one word, so the same word can sit under different topics. Italy can belong to your travels and your recipes at once and still be one tag. A conspect tagged only #italy shows up wherever Italy does.
Three conspects
Rome: #travel#italy Pasta: #recipes#italy Phrasebook: #italy
You get
- Recipes
- ItalyPasta, Phrasebook
- Travel
- ItalyPhrasebook, Rome
Finding conspects
Search for #italy and you get every conspect with that tag, wherever it sits in the tree. Add a word, like pasta #italy, to narrow it down. Or click a folder in the tree to see the conspects under it.
Folders on your computer
On a computer every conspect is a file, and the tree is also the folders the files are kept in. The first chain of tags picks the folder: change it, and the file moves. Put a file into a folder yourself, and Konspecter writes the folder's tags into it.
You write
#travel#italy
You get
~/Konspecter/travel/italy/rome.mdWhy it works this way
- Short names you can reuse: one Italy, not a separate one under every topic.
- No list of categories to keep tidy on the side: the tree is whatever your conspects say.
- Tags are plain text, so they still make sense in any other editor and stay with your conspects wherever they go.
The full specification
Tag-Chain is an open specification. Every rule, with examples, is on GitHub:
Building Tag-Chain into an app of your own? Please name the specification as its source.