# using filetags for marking nodes in org-roam as Zettelkasten main notes

My [[org-roam]] garden is a bit of everything, not only what you'd call [[Zettelkasten]] notes.

Perhaps not good practice - I don't know. But it is what it is.  I usually refer to it as a [[commonplace book]] or a [[digital garden]].  It's never been only a Zettelkasten.

But lately, I'm trying to incorporate more Zettelkasten-y aspects into it.  Namely, being explicit about creating 'main notes' (from the terminology of [[A System for Writing]]).

With that, it's useful at times to search only for main notes. filetags will let me do that.

In org, you can give a file tags with the `filetag` property.

e.g. `#+filetags: :zkmain:`

Then, you can set up the completing framework to include those filetags when doing an `org-roam-node-find`.

From the [org-roam manual](https://www.orgroam.com/manual.html#Customizing-Node-Completions-1):

```emacs-lisp
(setq org-roam-node-display-template
      (concat "${title:*} "
                    (propertize "${tags:10}" 'face 'org-tag)))
```

If I am consistent about this, it'll hopefully give me a way to emualte Zettelkasten 'folders' for main notes and reference notes.

