Properties

It can be inconvenient to see your templates appear in your Dataview query or Bases.

For example, you have a template with a tag inbox, but you do not want it to appear in your Base.

Pochoir offers pochoir-props (or pochoir-properties) code block to set properties for your future note.

Attributes

disabled

Disable the code block

noclear

pochoir-props clears all registered properties by default. You can disable this behavior with noclear attribute.

Example

Basic usage

---
tags:
- template
---

```pochoir-props
tags:
- inbox
```

Outputs:

---
tags:
- inbox
---

noclear attribute

---
tags:
- template
---

```pochoir-props noclear
tags:
- inbox
```

Outputs:

---
tags:
- template
- inbox
---